Example usage for Java org.springframework.transaction TransactionStatus fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | createSavepoint() Create a new savepoint. |
void | flush() Flush the underlying session to the datastore, if applicable: for example, all affected Hibernate/JPA sessions. |
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 | releaseSavepoint(Object savepoint) Explicitly release the given savepoint. |
void | rollbackToSavepoint(Object savepoint) Roll back to the given savepoint. |
void | setRollbackOnly() Set the transaction rollback-only. |