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 CollectionBatchLoader, SqlArrayMultiKeyLoader
CollectionBatchLoader using a SQL ARRAY 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 key, SharedSessionContractImplementor session)
Load a collection by its key (not necessarily the same as its owner's PK).void
prepare()
-
Methods inherited from class org.hibernate.loader.ast.internal.AbstractCollectionBatchLoader
finishInitializingKey, getDomainBatchSize, getInfluencers, getKeyJdbcCount, getLoadable, getSessionFactory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.loader.ast.spi.BatchLoader
getDomainBatchSize
-
Methods inherited from interface org.hibernate.loader.ast.spi.CollectionLoader
getLoadable
-
-
-
-
Constructor Detail
-
CollectionBatchLoaderArrayParam
public CollectionBatchLoaderArrayParam(int domainBatchSize, LoadQueryInfluencers loadQueryInfluencers, PluralAttributeMapping attributeMapping, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
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
-
prepare
public void prepare()
-
-