Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.engine.spi | |
org.hibernate.engine.transaction.spi |
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 |
EmptyInterceptor.afterTransactionBegin(Transaction tx) |
void |
Interceptor.afterTransactionBegin(Transaction tx)
Called when a Hibernate transaction is begun via the Hibernate Transaction
API.
|
void |
EmptyInterceptor.afterTransactionCompletion(Transaction tx) |
void |
Interceptor.afterTransactionCompletion(Transaction tx)
Called after a transaction is committed or rolled back.
|
void |
EmptyInterceptor.beforeTransactionCompletion(Transaction tx) |
void |
Interceptor.beforeTransactionCompletion(Transaction tx)
Called before a transaction is committed (but not before rollback).
|
Modifier and Type | Method and Description |
---|---|
Transaction |
SessionDelegatorBaseImpl.accessTransaction() |
Transaction |
SharedSessionContractImplementor.accessTransaction()
Provides access to the underlying transaction or creates a new transaction if
one does not already exist or is active.
|
Transaction |
SessionDelegatorBaseImpl.beginTransaction() |
Transaction |
SessionDelegatorBaseImpl.getTransaction() |
Modifier and Type | Interface and Description |
---|---|
interface |
TransactionImplementor |
Copyright © 2001-2020 Red Hat, Inc. All Rights Reserved.