类 JtaTransactionAdapterUserTransactionImpl
- java.lang.Object
-
- org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionAdapterUserTransactionImpl
-
- 所有已实现的接口:
JtaTransactionAdapter
public class JtaTransactionAdapterUserTransactionImpl extends Object implements JtaTransactionAdapter
JtaTransactionAdapter for coordinating with the JTA UserTransaction- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 JtaTransactionAdapterUserTransactionImpl(javax.transaction.UserTransaction userTransaction)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidbegin()Call begin on the underlying transaction objectvoidcommit()Call commit on the underlying transaction objectTransactionStatusgetStatus()voidmarkRollbackOnly()voidrollback()Call rollback on the underlying transaction objectvoidsetTimeOut(int seconds)
-
-
-
方法详细资料
-
begin
public void begin()
从接口复制的说明:JtaTransactionAdapterCall begin on the underlying transaction object- 指定者:
begin在接口中JtaTransactionAdapter
-
commit
public void commit()
从接口复制的说明:JtaTransactionAdapterCall commit on the underlying transaction object- 指定者:
commit在接口中JtaTransactionAdapter
-
rollback
public void rollback()
从接口复制的说明:JtaTransactionAdapterCall rollback on the underlying transaction object- 指定者:
rollback在接口中JtaTransactionAdapter
-
getStatus
public TransactionStatus getStatus()
- 指定者:
getStatus在接口中JtaTransactionAdapter
-
markRollbackOnly
public void markRollbackOnly()
- 指定者:
markRollbackOnly在接口中JtaTransactionAdapter
-
setTimeOut
public void setTimeOut(int seconds)
- 指定者:
setTimeOut在接口中JtaTransactionAdapter
-
-