Uses of Interface
org.hibernate.Transaction
-
Packages that use Transaction Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory
, which represents an instance of Hibernate at runtime and is the source of new instances ofSession
andStatelessSession
, the most important APIs exposing persistence-related operations for entities.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate.org.hibernate.engine.transaction.internal org.hibernate.engine.transaction.spi An SPI abstracting the object which implementsTransaction
.org.hibernate.internal An internal package containing implementations of central Hibernate APIs, mostly defined inorg.hibernate
. -
-
Uses of Transaction in org.hibernate
Methods in org.hibernate that return Transaction Modifier and Type Method Description Transaction
SharedSessionContract. beginTransaction()
Begin a unit of work and return the associatedTransaction
object.Transaction
SharedSessionContract. getTransaction()
Get theTransaction
instance associated with this session.Methods in org.hibernate with parameters of type Transaction Modifier and Type Method Description default void
Interceptor. afterTransactionBegin(Transaction tx)
Called when a Hibernate transaction is begun via the HibernateTransaction
API.default void
Interceptor. afterTransactionCompletion(Transaction tx)
Called after a transaction is committed or rolled back.default void
Interceptor. beforeTransactionCompletion(Transaction tx)
Called before a transaction is committed (but not before rollback). -
Uses of Transaction in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return Transaction Modifier and Type Method Description Transaction
SessionDelegatorBaseImpl. accessTransaction()
Transaction
SharedSessionContractImplementor. accessTransaction()
Retrieves the currentTransaction
, or creates a new transaction if there is no transaction active.Transaction
SharedSessionDelegatorBaseImpl. accessTransaction()
Transaction
SessionDelegatorBaseImpl. beginTransaction()
Transaction
SessionLazyDelegator. beginTransaction()
Transaction
SharedSessionDelegatorBaseImpl. beginTransaction()
Transaction
SessionDelegatorBaseImpl. getTransaction()
Transaction
SessionLazyDelegator. getTransaction()
Transaction
SharedSessionDelegatorBaseImpl. getTransaction()
-
Uses of Transaction in org.hibernate.engine.transaction.internal
Classes in org.hibernate.engine.transaction.internal that implement Transaction Modifier and Type Class Description class
TransactionImpl
-
Uses of Transaction in org.hibernate.engine.transaction.spi
Subinterfaces of Transaction in org.hibernate.engine.transaction.spi Modifier and Type Interface Description interface
TransactionImplementor
Defines the "internal contract" for an implementation ofTransaction
. -
Uses of Transaction in org.hibernate.internal
Methods in org.hibernate.internal that return Transaction Modifier and Type Method Description Transaction
AbstractSharedSessionContract. accessTransaction()
Transaction
AbstractSharedSessionContract. beginTransaction()
Transaction
AbstractSharedSessionContract. getTransaction()
-