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, IllegalStateException, RollbackException, SecurityException, SystemException
int getStatus() throws SystemException
SystemException
Transaction getTransaction() throws SystemException
SystemException
void resume(Transaction tobj) throws IllegalStateException, InvalidTransactionException, SystemException
void rollback() throws IllegalStateException, SecurityException, SystemException
void setRollbackOnly() throws IllegalStateException, SystemException
IllegalStateException
SystemException
void setTransactionTimeout(int seconds) throws SystemException
SystemException
Transaction suspend() throws SystemException
SystemException
Copyright © 2014. All rights reserved.