public class BaseContext.UserTransactionWrapper
extends java.lang.Object
Constructor and Description |
---|
UserTransactionWrapper(UserTransaction userTransaction) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
int |
getStatus() |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int i) |
public UserTransactionWrapper(UserTransaction userTransaction)
public void begin() throws NotSupportedException, SystemException
NotSupportedException
SystemException
public void commit() throws HeuristicMixedException, HeuristicRollbackException, java.lang.IllegalStateException, RollbackException, java.lang.SecurityException, SystemException
HeuristicMixedException
HeuristicRollbackException
java.lang.IllegalStateException
RollbackException
java.lang.SecurityException
SystemException
public int getStatus() throws SystemException
SystemException
public void rollback() throws java.lang.IllegalStateException, java.lang.SecurityException, SystemException
java.lang.IllegalStateException
java.lang.SecurityException
SystemException
public void setRollbackOnly() throws java.lang.IllegalStateException, SystemException
java.lang.IllegalStateException
SystemException
public void setTransactionTimeout(int i) throws SystemException
SystemException