Class CollectionLoaderNamedQuery
- java.lang.Object
-
- org.hibernate.loader.ast.internal.CollectionLoaderNamedQuery
-
- All Implemented Interfaces:
CollectionLoader
,Loader
public class CollectionLoaderNamedQuery extends Object implements CollectionLoader
-
-
Constructor Summary
Constructors Constructor Description CollectionLoaderNamedQuery(CollectionPersister persister, NamedQueryMemento namedQueryMemento)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluralAttributeMapping
getLoadable()
The value-mapping loaded by this loaderPersistentCollection<?>
load(Object key, SharedSessionContractImplementor session)
Load a collection by its key (not necessarily the same as its owner's PK).
-
-
-
Constructor Detail
-
CollectionLoaderNamedQuery
public CollectionLoaderNamedQuery(CollectionPersister persister, NamedQueryMemento namedQueryMemento)
-
-
Method Detail
-
getLoadable
public PluralAttributeMapping getLoadable()
Description copied from interface:Loader
The value-mapping loaded by this loader- Specified by:
getLoadable
in interfaceCollectionLoader
- Specified by:
getLoadable
in interfaceLoader
-
load
public PersistentCollection<?> load(Object key, SharedSessionContractImplementor session)
Description copied from interface:CollectionLoader
Load a collection by its key (not necessarily the same as its owner's PK).- Specified by:
load
in interfaceCollectionLoader
-
-