Summary
[Expand]
Inherited Methods |
From class
org.springframework.transaction.support.AbstractTransactionStatus
void
|
createAndHoldSavepoint()
Create a savepoint and hold it for the transaction.
|
Object
|
createSavepoint()
This implementation delegates to a SavepointManager for the
underlying transaction, if possible.
|
void
|
flush()
This implementations is empty, considering flush as a no-op.
|
Object
|
getSavepoint()
Get the savepoint for this transaction, if any.
|
SavepointManager
|
getSavepointManager()
Return a SavepointManager for the underlying transaction, if possible.
|
boolean
|
hasSavepoint()
Return whether this transaction internally carries a savepoint,
that is, has been created as nested transaction based on a savepoint.
|
boolean
|
isCompleted()
Return whether this transaction is completed, that is,
whether it has already been committed or rolled back.
|
boolean
|
isGlobalRollbackOnly()
Template method for determining the global rollback-only flag of the
underlying transaction, if any.
|
boolean
|
isLocalRollbackOnly()
Determine the rollback-only flag via checking this TransactionStatus.
|
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.
|
void
|
releaseHeldSavepoint()
Release the savepoint that is held for the transaction.
|
void
|
releaseSavepoint(Object savepoint)
This implementation delegates to a SavepointManager for the
underlying transaction, if possible.
|
void
|
rollbackToHeldSavepoint()
Roll back to the savepoint that is held for the transaction.
|
void
|
rollbackToSavepoint(Object savepoint)
This implementation delegates to a SavepointManager for the
underlying transaction, if possible.
|
void
|
setCompleted()
Mark this transaction as completed, that is, committed or rolled back.
|
void
|
setRollbackOnly()
Set the transaction rollback-only.
|
void
|
setSavepoint(Object savepoint)
Set a savepoint for this transaction.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.springframework.transaction.SavepointManager
|
From interface
org.springframework.transaction.TransactionStatus
abstract
void
|
flush()
Flush the underlying session to the datastore, if applicable:
for example, all affected Hibernate/JPA sessions.
|
abstract
boolean
|
hasSavepoint()
Return whether this transaction internally carries a savepoint,
that is, has been created as nested transaction based on a savepoint.
|
abstract
boolean
|
isCompleted()
Return whether this transaction is completed, that is,
whether it has already been committed or rolled back.
|
abstract
boolean
|
isNewTransaction()
Return whether the present transaction is new (else participating
in an existing transaction, or potentially not running in an
actual transaction in the first place).
|
abstract
boolean
|
isRollbackOnly()
Return whether the transaction has been marked as rollback-only
(either by the application or by the transaction infrastructure).
|
abstract
void
|
setRollbackOnly()
Set the transaction rollback-only.
|
|
Public Constructors
public
SimpleTransactionStatus
()
public
SimpleTransactionStatus
(boolean newTransaction)
Parameters
newTransaction
| whether to indicate a new transaction
|
Public Methods
public
boolean
isNewTransaction
()