javax.transaction

Interface UserTransaction

public interface UserTransaction

Method Summary

void
begin()
void
commit()
int
getStatus()
void
rollback()
void
setRollbackOnly()
void
setTransactionTimeout(int seconds)

Method Details

begin

public void begin()
            throws NotSupportedException,
                   SystemException

commit

public void commit()
            throws HeuristicMixedException,
                   HeuristicRollbackException,
                   IllegalStateException,
                   RollbackException,
                   SecurityException,
                   SystemException

getStatus

public int getStatus()
            throws SystemException

rollback

public void rollback()
            throws IllegalStateException,
                   SecurityException,
                   SystemException

setRollbackOnly

public void setRollbackOnly()
            throws IllegalStateException,
                   SystemException

setTransactionTimeout

public void setTransactionTimeout(int seconds)
            throws SystemException