public interface TransactionExecution
TransactionStatus
as well as
ReactiveTransaction
.Modifier and Type | Method and Description |
---|---|
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; otherwise 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.
|
boolean isNewTransaction()
void setRollbackOnly()
boolean isRollbackOnly()
boolean isCompleted()