コード例 #1
0
 /**
  * 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);
 }