org.hibernate.transaction
Class CacheSynchronization
java.lang.Object
   org.hibernate.transaction.CacheSynchronization
org.hibernate.transaction.CacheSynchronization
- All Implemented Interfaces: 
- Synchronization
- public final class CacheSynchronization 
- extends Object- implements Synchronization
A JTA transaction synch used to allow the Session to know about transaction
 events.
- Author:
- Gavin King
 
 
 
CacheSynchronization
public CacheSynchronization(TransactionFactory.Context ctx,
                            JDBCContext jdbcContext,
                            Transaction transaction,
                            Transaction tx)
beforeCompletion
public void beforeCompletion()
- 
 
- 
- Specified by:
- beforeCompletionin interface- Synchronization
 
- 
 
afterCompletion
public void afterCompletion(int status)
- 
 
- 
- Specified by:
- afterCompletionin interface- Synchronization
 
- 
 
toString
public String toString()
- 
 
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.