org.hibernate.event.def
Class DefaultInitializeCollectionEventListener

java.lang.Object
org.hibernate.event.def.DefaultInitializeCollectionEventListener
- All Implemented Interfaces:
- org.hibernate.event.InitializeCollectionEventListener, java.io.Serializable
- public class DefaultInitializeCollectionEventListener
- extends java.lang.Object
- implements org.hibernate.event.InitializeCollectionEventListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static final org.apache.commons.logging.Log log
DefaultInitializeCollectionEventListener
public DefaultInitializeCollectionEventListener()
onInitializeCollection
public void onInitializeCollection(org.hibernate.event.InitializeCollectionEvent event)
throws org.hibernate.HibernateException
- called by a collection that wants to initialize itself
- Specified by:
onInitializeCollection in interface org.hibernate.event.InitializeCollectionEventListener
initializeCollectionFromCache
private boolean initializeCollectionFromCache(java.io.Serializable id,
org.hibernate.persister.collection.CollectionPersister persister,
org.hibernate.collection.PersistentCollection collection,
org.hibernate.engine.SessionImplementor source)
throws org.hibernate.HibernateException
- Try to initialize a collection from the cache