javax.transaction
Interface UserTransaction
public interface UserTransaction
begin
void begin()
throws NotSupportedException,
SystemException
- Throws:
NotSupportedException
SystemException
commit
void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
SecurityException,
IllegalStateException,
SystemException
- Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
rollback
void rollback()
throws IllegalStateException,
SecurityException,
SystemException
- Throws:
IllegalStateException
SecurityException
SystemException
setRollbackOnly
void setRollbackOnly()
throws IllegalStateException,
SystemException
- Throws:
IllegalStateException
SystemException
getStatus
int getStatus()
throws SystemException
- Throws:
SystemException
setTransactionTimeout
void setTransactionTimeout(int seconds)
throws SystemException
- Throws:
SystemException