public class

BatchingCollectionInitializer

extends Object
implements CollectionInitializer
java.lang.Object
   ↳ org.hibernate.loader.collection.BatchingCollectionInitializer

Class Overview

"Batch" loads collections, using multiple foreign key values in the SQL where clause.

Summary

Public Constructors
BatchingCollectionInitializer(CollectionPersister collPersister, int[] batchSizes, Loader[] loaders)
Public Methods
static CollectionInitializer createBatchingCollectionInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
static CollectionInitializer createBatchingOneToManyInitializer(QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
int[] getBatchSizes()
CollectionPersister getCollectionPersister()
Loader[] getLoaders()
void initialize(Serializable id, SessionImplementor session)
Initialize the given collection
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.loader.collection.CollectionInitializer

Public Constructors

public BatchingCollectionInitializer (CollectionPersister collPersister, int[] batchSizes, Loader[] loaders)

Public Methods

public static CollectionInitializer createBatchingCollectionInitializer (QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)

public static CollectionInitializer createBatchingOneToManyInitializer (QueryableCollection persister, int maxBatchSize, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)

public int[] getBatchSizes ()

public CollectionPersister getCollectionPersister ()

public Loader[] getLoaders ()

public void initialize (Serializable id, SessionImplementor session)

Initialize the given collection