Method Summary |
|
public void | createAndHoldSavepoint() Create a savepoint and hold it for the transaction. |
public Object | createSavepoint() This implementation delegates to a SavepointManager for the
underlying transaction, if possible. |
protected Object | getSavepoint() Get the savepoint for this transaction, if any. |
protected SavepointManager | getSavepointManager() Return a SavepointManager for the underlying transaction, if possible. |
public boolean | hasSavepoint() |
public boolean | isCompleted() |
public boolean | isGlobalRollbackOnly() Template method for determining the global rollback-only flag of the
underlying transaction, if any. |
public boolean | isLocalRollbackOnly() Determine the rollback-only flag via checking this TransactionStatus. |
public boolean | isRollbackOnly() Determine the rollback-only flag via checking both the local rollback-only flag
of this TransactionStatus and the global rollback-only flag of the underlying
transaction, if any. |
public void | releaseHeldSavepoint() Release the savepoint that is held for the transaction. |
public void | releaseSavepoint(Object savepoint) This implementation delegates to a SavepointManager for the
underlying transaction, if possible. |
public void | rollbackToHeldSavepoint() Roll back to the savepoint that is held for the transaction. |
public void | rollbackToSavepoint(Object savepoint) This implementation delegates to a SavepointManager for the
underlying transaction, if possible. |
public void | setCompleted() Mark this transaction as completed, that is, committed or rolled back. |
public void | setRollbackOnly() |
protected void | setSavepoint(Object savepoint) Set a savepoint for this transaction. |