Class CollectionLoaderSingleKey
- java.lang.Object
-
- org.hibernate.loader.ast.internal.CollectionLoaderSingleKey
-
- All Implemented Interfaces:
CollectionLoader
,Loader
public class CollectionLoaderSingleKey extends Object implements CollectionLoader
Main implementation of CollectionLoader for handling a load of a single collection-key
-
-
Constructor Summary
Constructors Constructor Description CollectionLoaderSingleKey(PluralAttributeMapping attributeMapping, LoadQueryInfluencers influencers, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluralAttributeMapping
getAttributeMapping()
JdbcParametersList
getJdbcParameters()
PluralAttributeMapping
getLoadable()
The value-mapping loaded by this loaderSelectStatement
getSqlAst()
PersistentCollection<?>
load(Object key, SharedSessionContractImplementor session)
Load a collection by its key (not necessarily the same as its owner's PK).
-
-
-
Constructor Detail
-
CollectionLoaderSingleKey
public CollectionLoaderSingleKey(PluralAttributeMapping attributeMapping, LoadQueryInfluencers influencers, SessionFactoryImplementor sessionFactory)
-
-
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
-
getAttributeMapping
public PluralAttributeMapping getAttributeMapping()
-
getSqlAst
public SelectStatement getSqlAst()
-
getJdbcParameters
public JdbcParametersList getJdbcParameters()
-
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
-
-