public interface TransactionManager
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
Transaction |
getTransaction() |
void |
resume(Transaction tobj) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int seconds) |
Transaction |
suspend() |
void begin() throws NotSupportedException, SystemException
NotSupportedExceptionSystemExceptionvoid commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemException
int getStatus() throws SystemException
SystemExceptionTransaction getTransaction() throws SystemException
SystemExceptionvoid resume(Transaction tobj) throws InvalidTransactionException, IllegalStateException, SystemException
void rollback() throws IllegalStateException, SecurityException, SystemException
void setRollbackOnly() throws IllegalStateException, SystemException
IllegalStateExceptionSystemExceptionvoid setTransactionTimeout(int seconds) throws SystemException
SystemExceptionTransaction suspend() throws SystemException
SystemException