/**
  * Create the <tt>CollectionLoader</tt>
  *
  * @see org.hibernate.loader.collection.BasicCollectionLoader
  */
 protected CollectionInitializer createCollectionInitializer(java.util.Map enabledFilters)
     throws MappingException {
   return BatchingCollectionInitializer.createBatchingCollectionInitializer(
       this, batchSize, getFactory(), enabledFilters);
 }
Пример #2
0
 /**
  * Create the <tt>OneToManyLoader</tt>
  *
  * @see org.hibernate.loader.collection.OneToManyLoader
  */
 protected CollectionInitializer createCollectionInitializer(
     LoadQueryInfluencers loadQueryInfluencers) throws MappingException {
   return BatchingCollectionInitializer.createBatchingOneToManyInitializer(
       this, batchSize, getFactory(), loadQueryInfluencers);
 }