接口的使用
org.hibernate.Transaction
-
使用Transaction的程序包 程序包 说明 org.hibernate This package defines the central Hibernate APIs.org.hibernate.engine.spi org.hibernate.engine.transaction.internal org.hibernate.engine.transaction.spi org.hibernate.internal An internal package containing mostly implementations of central Hibernate APIs. -
-
org.hibernate中Transaction的使用
返回Transaction的org.hibernate中的方法 修饰符和类型 方法 说明 TransactionSharedSessionContract. beginTransaction()Begin a unit of work and return the associatedTransactionobject.TransactionSharedSessionContract. getTransaction()Get theTransactioninstance associated with this session.参数类型为Transaction的org.hibernate中的方法 修饰符和类型 方法 说明 voidEmptyInterceptor. afterTransactionBegin(Transaction tx)voidInterceptor. afterTransactionBegin(Transaction tx)Called when a Hibernate transaction is begun via the Hibernate Transaction API.voidEmptyInterceptor. afterTransactionCompletion(Transaction tx)voidInterceptor. afterTransactionCompletion(Transaction tx)Called after a transaction is committed or rolled back.voidEmptyInterceptor. beforeTransactionCompletion(Transaction tx)voidInterceptor. beforeTransactionCompletion(Transaction tx)Called before a transaction is committed (but not before rollback). -
org.hibernate.engine.spi中Transaction的使用
返回Transaction的org.hibernate.engine.spi中的方法 修饰符和类型 方法 说明 TransactionSessionDelegatorBaseImpl. accessTransaction()TransactionSharedSessionContractImplementor. accessTransaction()Provides access to the underlying transaction or creates a new transaction if one does not already exist or is active.TransactionSessionDelegatorBaseImpl. beginTransaction()TransactionSessionDelegatorBaseImpl. getTransaction() -
org.hibernate.engine.transaction.internal中Transaction的使用
实现Transaction的org.hibernate.engine.transaction.internal中的类 修饰符和类型 类 说明 classTransactionImpl -
org.hibernate.engine.transaction.spi中Transaction的使用
org.hibernate.engine.transaction.spi中Transaction的子接口 修饰符和类型 接口 说明 interfaceTransactionImplementor -
org.hibernate.internal中Transaction的使用
返回Transaction的org.hibernate.internal中的方法 修饰符和类型 方法 说明 TransactionAbstractSharedSessionContract. accessTransaction()TransactionAbstractSharedSessionContract. beginTransaction()TransactionAbstractSharedSessionContract. getTransaction()
-