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,
java.lang.IllegalStateException,
RollbackException,
java.lang.SecurityException,
SystemException
HeuristicMixedExceptionHeuristicRollbackExceptionjava.lang.IllegalStateExceptionRollbackExceptionjava.lang.SecurityExceptionSystemExceptionint getStatus()
throws SystemException
SystemExceptionTransaction getTransaction() throws SystemException
SystemExceptionvoid resume(Transaction tobj) throws java.lang.IllegalStateException, InvalidTransactionException, SystemException
java.lang.IllegalStateExceptionInvalidTransactionExceptionSystemExceptionvoid rollback()
throws java.lang.IllegalStateException,
java.lang.SecurityException,
SystemException
java.lang.IllegalStateExceptionjava.lang.SecurityExceptionSystemExceptionvoid setRollbackOnly()
throws java.lang.IllegalStateException,
SystemException
java.lang.IllegalStateExceptionSystemExceptionvoid setTransactionTimeout(int seconds)
throws SystemException
SystemExceptionTransaction suspend() throws SystemException
SystemExceptionCopyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.