org.hibernate.resource.transaction.spi.TransactionCoordinator
contract.
An instance of TransactionCoordinator may be constructed using a
org.,
which is a org. and available via the
org..
org.hibernate.Transaction , allowing full control over the
transaction lifecycle. That control flows from the Transaction into
the TransactionCoordinator via its exposed
org.hibernate.resource.transaction.spi.TransactionCoordinator.TransactionDriver .
jakarta.transaction.Transaction
or jakarta.transaction.UserTransaction , or
java.sql.Connection .
The corresponding concrete implementations of TransactionCoordinator
manage the necessary bridging.
jakarta.transaction.Synchronization objects with the
TransactionCoordinator. These local Synchronizations work in
all transaction environments.
See org. and
org. for
additional details.
| Modifier and Type | Class and Description |
|---|---|
| public class | LocalSynchronizationException
Wraps an exception thrown from a "local synchronization" (one registered in the SynchronizationRegistry). |
| public class | NullSynchronizationException
Indicates an attempt to register a null synchronization. |
| public class | TransactionRequiredForJoinException
Indicates a call to |