public interface UserTransaction
Modifier and Type | Method and Description |
---|---|
void |
begin()
Start the transaction.
|
void |
commit()
Commits the transaction
|
int |
getStatus()
Gets the transaction's status
|
void |
rollback()
Rolls the transaction back
|
void |
setRollbackOnly()
Marks the transaction as rollback only.
|
void |
setTransactionTimeout(int seconds)
Sets the transaction's timeout.
|
void setTransactionTimeout(int seconds) throws SystemException
SystemException
int getStatus() throws SystemException
SystemException
void setRollbackOnly() throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateException
SystemException
void begin() throws NotSupportedException, SystemException
NotSupportedException
SystemException
void commit() throws java.lang.IllegalStateException, RollbackException, HeuristicMixedException, HeuristicRollbackException, java.lang.SecurityException, SystemException
java.lang.IllegalStateException
RollbackException
HeuristicMixedException
HeuristicRollbackException
java.lang.SecurityException
SystemException
void rollback() throws java.lang.IllegalStateException, java.lang.SecurityException, SystemException
java.lang.IllegalStateException
java.lang.SecurityException
SystemException