public class StatefulUserTransaction
extends java.lang.Object
| Constructor and Description | 
|---|
| StatefulUserTransaction(UserTransaction userTransaction,
                       JtaEntityManagerRegistry jtaEntityManagerRegistry) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | begin() | 
| void | commit() | 
| int | getStatus() | 
| void | rollback() | 
| void | setRollbackOnly() | 
| void | setTransactionTimeout(int i) | 
public StatefulUserTransaction(UserTransaction userTransaction,
                               JtaEntityManagerRegistry jtaEntityManagerRegistry)
public void begin()
           throws NotSupportedException,
                  SystemException
NotSupportedExceptionSystemExceptionpublic void commit()
            throws HeuristicMixedException,
                   HeuristicRollbackException,
                   java.lang.IllegalStateException,
                   RollbackException,
                   java.lang.SecurityException,
                   SystemException
HeuristicMixedExceptionHeuristicRollbackExceptionjava.lang.IllegalStateExceptionRollbackExceptionjava.lang.SecurityExceptionSystemExceptionpublic int getStatus()
              throws SystemException
SystemExceptionpublic void rollback()
              throws java.lang.IllegalStateException,
                     java.lang.SecurityException,
                     SystemException
java.lang.IllegalStateExceptionjava.lang.SecurityExceptionSystemExceptionpublic void setRollbackOnly()
                     throws java.lang.IllegalStateException,
                            SystemException
java.lang.IllegalStateExceptionSystemExceptionpublic void setTransactionTimeout(int i)
                           throws SystemException
SystemException