public interface UserTransaction
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int seconds) |
void begin() throws NotSupportedException, SystemException
NotSupportedExceptionSystemExceptionvoid commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, java.lang.SecurityException, java.lang.IllegalStateException, SystemException
RollbackExceptionHeuristicMixedExceptionHeuristicRollbackExceptionjava.lang.SecurityExceptionjava.lang.IllegalStateExceptionSystemExceptionvoid rollback() throws java.lang.IllegalStateException, java.lang.SecurityException, SystemException
java.lang.IllegalStateExceptionjava.lang.SecurityExceptionSystemExceptionvoid setRollbackOnly() throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateExceptionSystemExceptionint getStatus() throws SystemException
SystemExceptionvoid setTransactionTimeout(int seconds) throws SystemException
SystemException