org.hibernate.resource.transaction.spi.TransactionCoordinator contract.
TransactionCoordinator instances can be obtained from
org., which is a Service
and available from the StandardServiceRegistry
A few terms/concepts to keep in mind here...
org.hibernate.Transaction ) as a means to control the underlying transaction. That
control flows from the org.hibernate.Transaction into the TransactionCoordinator
through the org.hibernate.resource.transaction.spi.TransactionCoordinator.TransactionDriver it exposes.
javax.transaction.UserTransaction or
javax.transaction.Transaction )
java.sql.Connection object
org.hibernate.Transaction#registerSynchronization and
org.hibernate.resource.transaction.spi.SynchronizationRegistry 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 |