public interface SmartTransactionObject extends Flushable
Autodetected by DefaultTransactionStatus
in order to always
return a current rollbackOnly flag even if not resulting from the current
TransactionStatus.
DefaultTransactionStatus.isGlobalRollbackOnly()
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flush the underlying sessions to the datastore, if applicable:
for example, all affected Hibernate/JPA sessions.
|
boolean |
isRollbackOnly()
Return whether the transaction is internally marked as rollback-only.
|