Synchronization implementation Hibernate registers with the JTA javax.transaction.Transaction
| Modifier and Type | Field and Description |
|---|---|
| private final CallbackCoordinator | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterCompletion(int
The status of the transaction completion. status)Implements javax. |
| public void | beforeCompletion()
Implements javax. |
| coordinator | back to summary |
|---|---|
| private final CallbackCoordinator coordinator | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| HibernateSynchronizationImpl | back to summary |
|---|---|
| public HibernateSynchronizationImpl(CallbackCoordinator coordinator) | |
| afterCompletion | back to summary |
|---|---|
| public void afterCompletion(int status) Implements javax. Doc from javax. This method is called by the transaction manager after the transaction is committed or rolled back.
| |
| beforeCompletion | back to summary |
|---|---|
| public void beforeCompletion() Implements javax. Doc from javax. The beforeCompletion method is called by the transaction manager prior to the start of the two-phase transaction commit process. This call is executed with the transaction context of the transaction that is being committed. | |