org.hibernate.Session to know about transaction
events.
| Modifier and Type | Field and Description |
|---|---|
| private final TransactionFactory. | |
| private final Transaction | |
| private JDBCContext | |
| private static final Logger | |
| private final Transaction |
| Access | Constructor and Description |
|---|---|
| public | CacheSynchronization(TransactionFactory.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | afterCompletion(int
The status of the transaction completion. status)Implements javax. |
| public void | beforeCompletion()
Implements javax. |
| private void | |
| public String |
| ctx | back to summary |
|---|---|
| private final TransactionFactory. | |
| hibernateTransaction | back to summary |
|---|---|
| private final Transaction hibernateTransaction | |
| jdbcContext | back to summary |
|---|---|
| private JDBCContext jdbcContext | |
| log | back to summary |
|---|---|
| private static final Logger log | |
| transaction | back to summary |
|---|---|
| private final Transaction transaction | |
| CacheSynchronization | back to summary |
|---|---|
| public CacheSynchronization(TransactionFactory. | |
| 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. | |
| setRollbackOnly | back to summary |
|---|---|
| private void setRollbackOnly() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |