|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TransactionException | |
org.springframework.jdbc.datasource | Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations. |
org.springframework.transaction | Exception hierarchy for Spring's transaction infrastructure, independent of any specific transaction management system. |
org.springframework.transaction.jta | Transaction SPI implementation for JTA. |
org.springframework.transaction.support | Support classes for the org.springframework.transaction package. |
Uses of TransactionException in org.springframework.jdbc.datasource |
Methods in org.springframework.jdbc.datasource that throw TransactionException | |
protected boolean |
DataSourceTransactionManager.isRollbackOnly(java.lang.Object transaction)
|
Uses of TransactionException in org.springframework.transaction |
Subclasses of TransactionException in org.springframework.transaction | |
class |
CannotCreateTransactionException
Exception thrown when a transaction can't be created using an underlying transaction API such as JTA. |
class |
HeuristicCompletionException
Exception that represents a transaction failure caused by heuristics. |
class |
IllegalTransactionStateException
Exception thrown when the existence or non-existence of a transaction amounts to an illegal state according to the transaction propagation behavior that applies. |
class |
InvalidIsolationLevelException
Exception that gets thrown when an invalid isolation level is specified, i.e. |
class |
InvalidTimeoutException
Exception that gets thrown when an invalid timeout is specified, i.e. |
class |
NoTransactionException
Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction. |
class |
TransactionSystemException
Exception thrown when a general transaction system error is encountered, like on commit or rollback. |
class |
TransactionUsageException
Superclass for exceptions caused by inappropriate usage of a Spring transaction API. |
class |
UnexpectedRollbackException
Thrown when an attempt to commit a transaction resulted in an unexpected rollback |
Methods in org.springframework.transaction that throw TransactionException | |
TransactionStatus |
PlatformTransactionManager.getTransaction(TransactionDefinition definition)
Return a currently active transaction or create a new one. |
void |
PlatformTransactionManager.commit(TransactionStatus status)
Commit the given transaction, with regard to its status. |
void |
PlatformTransactionManager.rollback(TransactionStatus status)
Roll back the given transaction, with regard to its status. |
Uses of TransactionException in org.springframework.transaction.jta |
Methods in org.springframework.transaction.jta that throw TransactionException | |
protected boolean |
JtaTransactionManager.isRollbackOnly(java.lang.Object transaction)
|
Uses of TransactionException in org.springframework.transaction.support |
Methods in org.springframework.transaction.support that throw TransactionException | |
java.lang.Object |
TransactionTemplate.execute(TransactionCallback action)
Execute the action specified by the given callback object within a transaction. |
TransactionStatus |
AbstractPlatformTransactionManager.getTransaction(TransactionDefinition definition)
This implementation of getTransaction handles propagation behavior. |
void |
AbstractPlatformTransactionManager.commit(TransactionStatus status)
This implementation of commit handles participating in existing transactions and programmatic rollback requests. |
void |
AbstractPlatformTransactionManager.rollback(TransactionStatus status)
This implementation of rollback handles participating in existing transactions. |
protected abstract java.lang.Object |
AbstractPlatformTransactionManager.doGetTransaction()
Return a current transaction object, i.e. |
protected abstract boolean |
AbstractPlatformTransactionManager.isExistingTransaction(java.lang.Object transaction)
Check if the given transaction object indicates an existing, i.e. |
protected abstract void |
AbstractPlatformTransactionManager.doBegin(java.lang.Object transaction,
TransactionDefinition definition)
Begin a new transaction with the given transaction definition. |
protected abstract java.lang.Object |
AbstractPlatformTransactionManager.doSuspend(java.lang.Object transaction)
Suspend the resources of the current transaction. |
protected abstract void |
AbstractPlatformTransactionManager.doResume(java.lang.Object transaction,
java.lang.Object suspendedResources)
Resume the resources of the current transaction. |
protected abstract boolean |
AbstractPlatformTransactionManager.isRollbackOnly(java.lang.Object transaction)
Check if the given transaction object indicates a rollback-only, assumably from a nested transaction (else, the TransactionStatus of this transaction would have indicated rollback-only). |
protected abstract void |
AbstractPlatformTransactionManager.doCommit(DefaultTransactionStatus status)
Perform an actual commit on the given transaction. |
protected abstract void |
AbstractPlatformTransactionManager.doRollback(DefaultTransactionStatus status)
Perform an actual rollback on the given transaction. |
protected abstract void |
AbstractPlatformTransactionManager.doSetRollbackOnly(DefaultTransactionStatus status)
Set the given transaction rollback-only. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |