public class CoreUserTransaction
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CoreUserTransaction(TransactionManager transactionManager) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
static java.lang.RuntimeException |
error() |
static java.lang.RuntimeException |
error(java.lang.RuntimeException e) |
int |
getStatus() |
static void |
resetError(java.lang.RuntimeException old) |
void |
rollback() |
void |
setRollbackOnly() |
void |
setTransactionTimeout(int seconds) |
public CoreUserTransaction(TransactionManager transactionManager)
public static java.lang.RuntimeException error(java.lang.RuntimeException e)
public static void resetError(java.lang.RuntimeException old)
public static java.lang.RuntimeException error()
public void begin() throws NotSupportedException, SystemException
NotSupportedException
SystemException
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, java.lang.SecurityException, java.lang.IllegalStateException, SystemException
RollbackException
HeuristicMixedException
HeuristicRollbackException
java.lang.SecurityException
java.lang.IllegalStateException
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 SystemException
SystemException
public void setTransactionTimeout(int seconds) throws SystemException
SystemException