Class CollectionBatchLoaderArrayParam
- java.lang.Object
-
- org.hibernate.loader.ast.internal.AbstractCollectionBatchLoader
-
- org.hibernate.loader.ast.internal.CollectionBatchLoaderArrayParam
-
- All Implemented Interfaces:
BatchLoader
,CollectionBatchLoader
,CollectionLoader
,Loader
,MultiKeyLoader
,SqlArrayMultiKeyLoader
public class CollectionBatchLoaderArrayParam extends AbstractCollectionBatchLoader implements SqlArrayMultiKeyLoader
CollectionBatchLoader
using a SQLARRAY
parameter to pass the key values.
-
-
Constructor Summary
Constructors Constructor Description CollectionBatchLoaderArrayParam(int domainBatchSize, LoadQueryInfluencers loadQueryInfluencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PersistentCollection<?>
load(Object keyBeingLoaded, SharedSessionContractImplementor session)
Load a collection by its key (not necessarily the same as its owner's PK).-
Methods inherited from class org.hibernate.loader.ast.internal.AbstractCollectionBatchLoader
finishInitializingKey, getDomainBatchSize, getInfluencers, getKeyJdbcCount, getKeyType, getLoadable, getSessionFactory
-
-
-
-
Constructor Detail
-
CollectionBatchLoaderArrayParam
public CollectionBatchLoaderArrayParam(int domainBatchSize, LoadQueryInfluencers loadQueryInfluencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
load
public PersistentCollection<?> load(Object keyBeingLoaded, 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
- Overrides:
load
in classAbstractCollectionBatchLoader
-
-