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 |
|---|---|
| public default void | flush()
Implements java. |
| public default boolean |
| flush | back to summary |
|---|---|
| public default void flush() Implements java. Flush the underlying sessions to the datastore, if applicable: for example, all affected Hibernate/JPA sessions. The default implementation is empty, considering flush as a no-op.
| |
| isRollbackOnly | back to summary |
|---|---|
| public default boolean isRollbackOnly() Return whether the transaction is internally marked as rollback-only. Can, for example, check the JTA UserTransaction. The default implementation returns | |