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
NotSupportedException
SystemException
void commit() throws HeuristicMixedException, HeuristicRollbackException, java.lang.IllegalStateException, RollbackException, java.lang.SecurityException, SystemException
HeuristicMixedException
HeuristicRollbackException
java.lang.IllegalStateException
RollbackException
java.lang.SecurityException
SystemException
int getStatus() throws SystemException
SystemException
Transaction getTransaction() throws SystemException
SystemException
void resume(Transaction tobj) throws java.lang.IllegalStateException, InvalidTransactionException, SystemException
java.lang.IllegalStateException
InvalidTransactionException
SystemException
void rollback() throws java.lang.IllegalStateException, java.lang.SecurityException, SystemException
java.lang.IllegalStateException
java.lang.SecurityException
SystemException
void setRollbackOnly() throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateException
SystemException
void setTransactionTimeout(int seconds) throws SystemException
SystemException
Transaction suspend() throws SystemException
SystemException