@ProviderType public interface TransactionControl extends TransactionStarter
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
activeScope()  | 
boolean | 
activeTransaction()  | 
TransactionBuilder | 
build()
Build a transaction context to surround a piece of transactional work 
 | 
TransactionContext | 
getCurrentContext()  | 
boolean | 
getRollbackOnly()
Gets the rollback status of the active transaction 
 | 
void | 
ignoreException(Throwable t)
Marks that the current transaction should not be rolled back if the
 supplied Exception is thrown by the current transactional work 
 | 
void | 
setRollbackOnly()
Marks the current transaction to be rolled back 
 | 
notSupported, required, requiresNew, supportsTransactionBuilder build()
boolean activeTransaction()
boolean activeScope()
TransactionContext getCurrentContext()
boolean getRollbackOnly()
                 throws IllegalStateException
IllegalStateException - if no transaction is activevoid setRollbackOnly()
              throws IllegalStateException
IllegalStateException - if no transaction is activevoid ignoreException(Throwable t) throws IllegalStateException
t - The exception to ignoreIllegalStateException - if no transaction is activeCopyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0