Package org.hibernate.event.internal
Class DefaultInitializeCollectionEventListener
- java.lang.Object
-
- org.hibernate.event.internal.DefaultInitializeCollectionEventListener
-
- All Implemented Interfaces:
InitializeCollectionEventListener
public class DefaultInitializeCollectionEventListener extends Object implements InitializeCollectionEventListener
-
-
Constructor Summary
Constructors Constructor Description DefaultInitializeCollectionEventListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
handlePotentiallyEmptyCollection(PersistentCollection<?> collection, PersistenceContext persistenceContext, Object loadedKey, CollectionPersister loadedPersister)
void
onInitializeCollection(InitializeCollectionEvent event)
called by a collection that wants to initialize itself
-
-
-
Method Detail
-
onInitializeCollection
public void onInitializeCollection(InitializeCollectionEvent event) throws HibernateException
called by a collection that wants to initialize itself- Specified by:
onInitializeCollection
in interfaceInitializeCollectionEventListener
- Throws:
HibernateException
-
handlePotentiallyEmptyCollection
public static void handlePotentiallyEmptyCollection(PersistentCollection<?> collection, PersistenceContext persistenceContext, Object loadedKey, CollectionPersister loadedPersister)
-
-