| org.springframework.transaction.TransactionStatus
All known Subclasses: org.springframework.transaction.support.AbstractTransactionStatus,
Method Summary | |
boolean | hasSavepoint() Return whether this transaction internally carries a savepoint,
that is, has been created as nested transaction based on a savepoint.
This method is mainly here for diagnostic purposes, alongside
TransactionStatus.isNewTransaction() . | boolean | isCompleted() Return whether this transaction is completed, that is,
whether it has already been committed or rolled back. | boolean | isNewTransaction() Return whether the present transaction is new (else participating
in an existing transaction, or potentially not running in an
actual transaction in the first place). | boolean | isRollbackOnly() Return whether the transaction has been marked as rollback-only
(either by the application or by the transaction infrastructure). | void | setRollbackOnly() Set the transaction rollback-only. |
isNewTransaction | boolean isNewTransaction()(Code) | | Return whether the present transaction is new (else participating
in an existing transaction, or potentially not running in an
actual transaction in the first place).
|
isRollbackOnly | boolean isRollbackOnly()(Code) | | Return whether the transaction has been marked as rollback-only
(either by the application or by the transaction infrastructure).
|
|
|