org.hibernate.loader.entity
Class DynamicBatchingEntityLoaderBuilder

java.lang.Object
  extended by org.hibernate.loader.entity.BatchingEntityLoaderBuilder
      extended by org.hibernate.loader.entity.DynamicBatchingEntityLoaderBuilder

public class DynamicBatchingEntityLoaderBuilder
extends BatchingEntityLoaderBuilder

A BatchingEntityLoaderBuilder that builds UniqueEntityLoader instances capable of dynamically building its batch-fetch SQL based on the actual number of entity ids waiting to be fetched.


Nested Class Summary
static class DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader
           
 
Field Summary
static DynamicBatchingEntityLoaderBuilder INSTANCE
           
 
Constructor Summary
DynamicBatchingEntityLoaderBuilder()
           
 
Method Summary
protected  UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
           
protected  UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers influencers)
           
 
Methods inherited from class org.hibernate.loader.entity.BatchingEntityLoaderBuilder
buildLoader, buildLoader, getBuilder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final DynamicBatchingEntityLoaderBuilder INSTANCE
Constructor Detail

DynamicBatchingEntityLoaderBuilder

public DynamicBatchingEntityLoaderBuilder()
Method Detail

buildBatchingLoader

protected UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister,
                                                 int batchSize,
                                                 LockMode lockMode,
                                                 SessionFactoryImplementor factory,
                                                 LoadQueryInfluencers influencers)
Specified by:
buildBatchingLoader in class BatchingEntityLoaderBuilder

buildBatchingLoader

protected UniqueEntityLoader buildBatchingLoader(OuterJoinLoadable persister,
                                                 int batchSize,
                                                 LockOptions lockOptions,
                                                 SessionFactoryImplementor factory,
                                                 LoadQueryInfluencers influencers)
Specified by:
buildBatchingLoader in class BatchingEntityLoaderBuilder


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.