Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi | |
org.hibernate.engine.transaction.internal | |
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 |
TransactionImpl |
Modifier and Type | Field and Description |
---|---|
protected Transaction |
AbstractSessionImpl.currentHibernateTransaction |
Modifier and Type | Method and Description |
---|---|
Transaction |
StatelessSessionImpl.beginTransaction() |
Transaction |
SessionImpl.beginTransaction() |
Transaction |
AbstractSessionImpl.getTransaction() |
Copyright © 2017 JBoss by Red Hat. All rights reserved.