public interface SmartTransactionObject
extends java.io.Flushable
Autodetected by DefaultTransactionStatus, to always return a current rollbackOnly flag even if not resulting from the current TransactionStatus.
AbstractTransactionStatus.isRollbackOnly()
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.
|
boolean isRollbackOnly()
void flush()
flush
in interface java.io.Flushable