Class JtaTransactionAdapterUserTransactionImpl
java.lang.Object
org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionAdapterUserTransactionImpl
- All Implemented Interfaces:
JtaTransactionAdapter
public class JtaTransactionAdapterUserTransactionImpl
extends Object
implements JtaTransactionAdapter
JtaTransactionAdapter for coordinating with the JTA UserTransaction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
Call begin on the underlying transaction objectvoid
commit()
Call commit on the underlying transaction objectvoid
void
rollback()
Call rollback on the underlying transaction objectvoid
setTimeOut
(int seconds)
-
Constructor Details
-
JtaTransactionAdapterUserTransactionImpl
-
-
Method Details
-
begin
public void begin()Description copied from interface:JtaTransactionAdapter
Call begin on the underlying transaction object- Specified by:
begin
in interfaceJtaTransactionAdapter
-
commit
public void commit()Description copied from interface:JtaTransactionAdapter
Call commit on the underlying transaction object- Specified by:
commit
in interfaceJtaTransactionAdapter
-
rollback
public void rollback()Description copied from interface:JtaTransactionAdapter
Call rollback on the underlying transaction object- Specified by:
rollback
in interfaceJtaTransactionAdapter
-
getStatus
- Specified by:
getStatus
in interfaceJtaTransactionAdapter
-
markRollbackOnly
public void markRollbackOnly()- Specified by:
markRollbackOnly
in interfaceJtaTransactionAdapter
-
setTimeOut
public void setTimeOut(int seconds) - Specified by:
setTimeOut
in interfaceJtaTransactionAdapter
-