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
NotSupportedExceptionSystemExceptionvoid commit()
throws HeuristicMixedException,
HeuristicRollbackException,
IllegalStateException,
RollbackException,
SecurityException,
SystemException
int getStatus()
throws SystemException
SystemExceptionTransaction getTransaction() throws SystemException
SystemExceptionvoid resume(Transaction tobj) throws IllegalStateException, InvalidTransactionException, SystemException
void rollback()
throws IllegalStateException,
SecurityException,
SystemException
void setRollbackOnly()
throws IllegalStateException,
SystemException
IllegalStateExceptionSystemExceptionvoid setTransactionTimeout(int seconds)
throws SystemException
SystemExceptionTransaction suspend() throws SystemException
SystemExceptionCopyright © 2025. All rights reserved.