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, SecurityException, IllegalStateException, SystemException
void rollback() throws IllegalStateException, SecurityException, SystemException
void setRollbackOnly() throws IllegalStateException, SystemException
IllegalStateExceptionSystemExceptionint getStatus() throws SystemException
SystemExceptionvoid setTransactionTimeout(int seconds) throws SystemException
SystemException