Class NamedQueryCollectionInitializer
- java.lang.Object
-
- org.hibernate.persister.collection.NamedQueryCollectionInitializer
-
- All Implemented Interfaces:
CollectionInitializer
public final class NamedQueryCollectionInitializer extends java.lang.Object implements CollectionInitializer
A wrapper around a named query.
-
-
Constructor Summary
Constructors Constructor Description NamedQueryCollectionInitializer(java.lang.String queryName, CollectionPersister persister)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(java.io.Serializable key, SharedSessionContractImplementor session)
Initialize the given collection
-
-
-
Constructor Detail
-
NamedQueryCollectionInitializer
public NamedQueryCollectionInitializer(java.lang.String queryName, CollectionPersister persister)
-
-
Method Detail
-
initialize
public void initialize(java.io.Serializable key, SharedSessionContractImplementor session) throws HibernateException
Description copied from interface:CollectionInitializer
Initialize the given collection- Specified by:
initialize
in interfaceCollectionInitializer
- Throws:
HibernateException
-
-