类 JdbcResourceLocalTransactionCoordinatorImpl.TransactionDriverControlImpl
- java.lang.Object
-
- org.hibernate.resource.transaction.backend.jdbc.internal.JdbcResourceLocalTransactionCoordinatorImpl.TransactionDriverControlImpl
-
- 所有已实现的接口:
TransactionCoordinator.TransactionDriver
public class JdbcResourceLocalTransactionCoordinatorImpl.TransactionDriverControlImpl extends Object implements TransactionCoordinator.TransactionDriver
The delegate bridging between the local (application facing) transaction and the "physical" notion of a transaction via the JDBC Connection.
-
-
构造器概要
构造器 构造器 说明 TransactionDriverControlImpl(JdbcResourceTransaction jdbcResourceTransaction)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidbegin()Begin the physical transactionvoidcommit()Commit the physical transactionprotected voiderrorIfInvalid()TransactionStatusgetStatus()protected voidinvalidate()voidmarkRollbackOnly()voidrollback()Rollback the physical transaction-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.resource.transaction.spi.TransactionCoordinator.TransactionDriver
isActive
-
-
-
-
构造器详细资料
-
TransactionDriverControlImpl
public TransactionDriverControlImpl(JdbcResourceTransaction jdbcResourceTransaction)
-
-
方法详细资料
-
invalidate
protected void invalidate()
-
begin
public void begin()
从接口复制的说明:TransactionCoordinator.TransactionDriverBegin the physical transaction
-
errorIfInvalid
protected void errorIfInvalid()
-
commit
public void commit()
从接口复制的说明:TransactionCoordinator.TransactionDriverCommit the physical transaction
-
rollback
public void rollback()
从接口复制的说明:TransactionCoordinator.TransactionDriverRollback the physical transaction
-
getStatus
public TransactionStatus getStatus()
-
markRollbackOnly
public void markRollbackOnly()
-
-