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 TypeMethodDescriptionvoidbegin()Call begin on the underlying transaction objectvoidcommit()Call commit on the underlying transaction objectvoidvoidrollback()Call rollback on the underlying transaction objectvoidsetTimeOut(int seconds)
-
Constructor Details
-
JtaTransactionAdapterUserTransactionImpl
-
-
Method Details
-
begin
public void begin()Description copied from interface:JtaTransactionAdapterCall begin on the underlying transaction object- Specified by:
beginin interfaceJtaTransactionAdapter
-
commit
public void commit()Description copied from interface:JtaTransactionAdapterCall commit on the underlying transaction object- Specified by:
commitin interfaceJtaTransactionAdapter
-
rollback
public void rollback()Description copied from interface:JtaTransactionAdapterCall rollback on the underlying transaction object- Specified by:
rollbackin interfaceJtaTransactionAdapter
-
getStatus
- Specified by:
getStatusin interfaceJtaTransactionAdapter
-
markRollbackOnly
public void markRollbackOnly()- Specified by:
markRollbackOnlyin interfaceJtaTransactionAdapter
-
setTimeOut
public void setTimeOut(int seconds) - Specified by:
setTimeOutin interfaceJtaTransactionAdapter
-