## Uses of Interface
org.hibernate.Transaction

Packages that use Transaction
org.hibernate: This package defines the central Hibernate APIs.
org.hibernate.ejb.transaction
org.hibernate.engine: This package contains classes that are "shared" by other packages, and implementations of some key algorithms.
org.hibernate.envers.entities.mapper.relation.lazy
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 `TransactionManager`s.
org.hibernate.transaction.synchronization

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.ejb.transaction

Classes in org.hibernate.ejb.transaction that implement Transaction
`class` `JoinableCMTTransaction` Implements a joinable transaction.

Methods in org.hibernate.ejb.transaction that return Transaction
`Transaction` `JoinableCMTTransactionFactory.createTransaction(JDBCContext jdbcContext, TransactionFactory.Context transactionContext)`

Methods in org.hibernate.ejb.transaction with parameters of type Transaction
`boolean` `JoinableCMTTransactionFactory.isTransactionInProgress(JDBCContext jdbcContext, TransactionFactory.Context transactionContext, Transaction transaction)`

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.envers.entities.mapper.relation.lazy

Methods in org.hibernate.envers.entities.mapper.relation.lazy with parameters of type Transaction
`void` `AbstractDelegateSessionImplementor.afterTransactionCompletion(boolean successful, Transaction tx)`
`void` `AbstractDelegateSessionImplementor.beforeTransactionCompletion(Transaction tx)`

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` `Transaction` implementation based on transaction management through a JDBC `Connection`.
`class` `JTATransaction` `Transaction` implementation based on transaction management through a JTA `UserTransaction`.

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)` Begin a transaction and return the associated `Transaction` instance.
`Transaction` `JDBCTransactionFactory.createTransaction(JDBCContext jdbcContext, TransactionFactory.Context transactionContext)` Begin a transaction and return the associated `Transaction` instance.
`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)` Determine whether an underlying transaction is in progress.
`boolean` `JDBCTransactionFactory.isTransactionInProgress(JDBCContext jdbcContext, TransactionFactory.Context transactionContext, Transaction transaction)` Determine whether an underlying transaction is in progress.
`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)`

Uses of Transaction in org.hibernate.transaction.synchronization

Constructors in org.hibernate.transaction.synchronization with parameters of type Transaction
`CallbackCoordinator(TransactionFactory.Context ctx, JDBCContext jdbcContext, Transaction jtaTransaction, Transaction hibernateTransaction)`

Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.