Package org.hibernate.transaction
Class CacheSynchronization
java.lang.Object
org.hibernate.transaction.CacheSynchronization
- All Implemented Interfaces:
Synchronization
A JTA transaction synch used to allow the
Session to know about transaction
events.-
Constructor Summary
ConstructorsConstructorDescriptionCacheSynchronization(TransactionFactory.Context ctx, JDBCContext jdbcContext, Transaction transaction, Transaction tx) -
Method Summary
-
Constructor Details
-
CacheSynchronization
public CacheSynchronization(TransactionFactory.Context ctx, JDBCContext jdbcContext, Transaction transaction, Transaction tx)
-
-
Method Details
-
beforeCompletion
public void beforeCompletion()- Specified by:
beforeCompletionin interfaceSynchronization
-
afterCompletion
public void afterCompletion(int status) - Specified by:
afterCompletionin interfaceSynchronization
-
toString
-