Uses of Interface
org.hibernate.Transaction

Packages that use Transaction
org.hibernate This package defines the central Hibernate APIs. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
org.hibernate.jdbc This package abstracts the mechanism for dispatching SQL statements to the database, and implements interaction with JDBC. 
org.hibernate.transaction This package abstracts the underlying transaction mechanism (JTA or JDBC) and provides strategies for obtaining application server TransactionManagers. 
 

Uses of Transaction in org.hibernate
 

Methods in org.hibernate that return Transaction
 Transaction StatelessSession.beginTransaction()
          Begin a Hibernate transaction.
 Transaction Session.beginTransaction()
          Begin a unit of work and return the associated Transaction object.
 Transaction StatelessSession.getTransaction()
          Get the current Hibernate transaction.
 Transaction Session.getTransaction()
          Get the Transaction instance associated with this session.
 

Methods in org.hibernate with parameters of type Transaction
 void Interceptor.afterTransactionBegin(Transaction tx)
          Called when a Hibernate transaction is begun via the Hibernate Transaction API.
 void EmptyInterceptor.afterTransactionBegin(Transaction tx)
           
 void Interceptor.afterTransactionCompletion(Transaction tx)
          Called after a transaction is committed or rolled back.
 void EmptyInterceptor.afterTransactionCompletion(Transaction tx)
           
 void Interceptor.beforeTransactionCompletion(Transaction tx)
          Called before a transaction is committed (but not before rollback).
 void EmptyInterceptor.beforeTransactionCompletion(Transaction tx)
           
 

Uses of Transaction in org.hibernate.engine
 

Methods in org.hibernate.engine with parameters of type Transaction
 void SessionImplementor.afterTransactionCompletion(boolean successful, Transaction tx)
          Notify the session that the transaction completed, so we no longer own the old locks.
 void SessionImplementor.beforeTransactionCompletion(Transaction tx)
          Notify the session that the transaction is about to complete
 

Uses of Transaction in org.hibernate.impl
 

Methods in org.hibernate.impl that return Transaction
 Transaction StatelessSessionImpl.beginTransaction()
           
 Transaction SessionImpl.beginTransaction()
           
 Transaction StatelessSessionImpl.getTransaction()
           
 Transaction SessionImpl.getTransaction()
           
 

Methods in org.hibernate.impl with parameters of type Transaction
 void StatelessSessionImpl.afterTransactionBegin(Transaction tx)
           
 void SessionImpl.afterTransactionBegin(Transaction tx)
           
 void StatelessSessionImpl.afterTransactionCompletion(boolean successful, Transaction tx)
           
 void SessionImpl.afterTransactionCompletion(boolean success, Transaction tx)
           
 void StatelessSessionImpl.beforeTransactionCompletion(Transaction tx)
           
 void SessionImpl.beforeTransactionCompletion(Transaction tx)
           
 

Uses of Transaction in org.hibernate.jdbc
 

Methods in org.hibernate.jdbc that return Transaction
 Transaction JDBCContext.getTransaction()
           
 

Methods in org.hibernate.jdbc with parameters of type Transaction
 void JDBCContext.afterTransactionBegin(Transaction tx)
          We cannot rely upon this method being called! It is only called if we are using Hibernate Transaction API.
 void JDBCContext.Context.afterTransactionBegin(Transaction tx)
          We cannot rely upon this method being called! It is only called if we are using Hibernate Transaction API.
 void JDBCContext.afterTransactionCompletion(boolean success, Transaction tx)
           
 void JDBCContext.Context.afterTransactionCompletion(boolean success, Transaction tx)
           
 void JDBCContext.beforeTransactionCompletion(Transaction tx)
           
 void JDBCContext.Context.beforeTransactionCompletion(Transaction tx)
           
 

Uses of Transaction in org.hibernate.transaction
 

Classes in org.hibernate.transaction that implement Transaction
 class CMTTransaction
          Implements a basic transaction strategy for CMT transactions.
 class JDBCTransaction
          Implements a basic transaction strategy for JDBC connections.This is the default Transaction implementation used if none is explicitly specified.
 class JTATransaction
          Implements a basic transaction strategy for JTA transactions.
 

Methods in org.hibernate.transaction that return Transaction
 Transaction TransactionFactory.createTransaction(JDBCContext jdbcContext, TransactionFactory.Context context)
          Begin a transaction and return the associated Transaction instance.
 Transaction JTATransactionFactory.createTransaction(JDBCContext jdbcContext, TransactionFactory.Context transactionContext)
           
 Transaction JDBCTransactionFactory.createTransaction(JDBCContext jdbcContext, TransactionFactory.Context transactionContext)
           
 Transaction CMTTransactionFactory.createTransaction(JDBCContext jdbcContext, TransactionFactory.Context transactionContext)
           
 

Methods in org.hibernate.transaction with parameters of type Transaction
 boolean TransactionFactory.isTransactionInProgress(JDBCContext jdbcContext, TransactionFactory.Context transactionContext, Transaction transaction)
          Determine whether an underlying transaction is in progress.
 boolean JTATransactionFactory.isTransactionInProgress(JDBCContext jdbcContext, TransactionFactory.Context transactionContext, Transaction transaction)
           
 boolean JDBCTransactionFactory.isTransactionInProgress(JDBCContext jdbcContext, TransactionFactory.Context transactionContext, Transaction transaction)
           
 boolean CMTTransactionFactory.isTransactionInProgress(JDBCContext jdbcContext, TransactionFactory.Context transactionContext, Transaction transaction)
           
 

Constructors in org.hibernate.transaction with parameters of type Transaction
CacheSynchronization(TransactionFactory.Context ctx, JDBCContext jdbcContext, Transaction transaction, Transaction tx)