| Package | Description | 
|---|---|
| org.hibernate | 
 
        This package defines the central Hibernate APIs. 
 | 
| org.hibernate.engine.spi | |
| org.hibernate.engine.transaction.internal.jdbc | |
| org.hibernate.engine.transaction.internal.jta | |
| org.hibernate.engine.transaction.spi | |
| org.hibernate.internal | 
 
    An internal package containing mostly implementations of central Hibernate APIs. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Transaction | 
SharedSessionContract.beginTransaction()
Begin a unit of work and return the associated  
Transaction object. | 
Transaction | 
SharedSessionContract.getTransaction()
Get the  
Transaction instance associated with this session. | 
| Modifier and Type | Method and Description | 
|---|---|
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)  | 
| Modifier and Type | Method and Description | 
|---|---|
Transaction | 
SessionDelegatorBaseImpl.beginTransaction()  | 
Transaction | 
SessionDelegatorBaseImpl.getTransaction()  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
JdbcTransaction
Transaction implementation based on transaction management through a JDBC Connection. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CMTTransaction
Implements a transaction strategy for Container Managed Transaction (CMT) scenarios. 
 | 
class  | 
JtaTransaction
Implements a transaction strategy based on transaction management through a JTA  
UserTransaction. | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
TransactionImplementor
Additional contract for implementors of the Hibernate  
Transaction API. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractTransactionImpl
Abstract support for creating  
transaction implementations | 
| Modifier and Type | Method and Description | 
|---|---|
Transaction | 
SessionImpl.beginTransaction()  | 
Transaction | 
StatelessSessionImpl.beginTransaction()  | 
Transaction | 
SessionImpl.getTransaction()  | 
Transaction | 
StatelessSessionImpl.getTransaction()  | 
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.