public abstract class BatchingEntityLoader extends Object implements UniqueEntityLoader
BatchingEntityLoaderBuilder, 
UniqueEntityLoader| Constructor and Description | 
|---|
BatchingEntityLoader(EntityPersister persister)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected QueryParameters | 
buildQueryParameters(Serializable id,
                    Serializable[] ids,
                    Object optionalObject,
                    LockOptions lockOptions)  | 
protected Object | 
doBatchLoad(Serializable id,
           Loader loaderToUse,
           SharedSessionContractImplementor session,
           Serializable[] ids,
           Object optionalObject,
           LockOptions lockOptions)  | 
protected Object | 
getObjectFromList(List results,
                 Serializable id,
                 SharedSessionContractImplementor session)  | 
Object | 
load(Serializable id,
    Object optionalObject,
    SharedSessionContractImplementor session)
Load an entity instance. 
 | 
EntityPersister | 
persister()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadpublic BatchingEntityLoader(EntityPersister persister)
public EntityPersister persister()
public Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)
UniqueEntityLoaderload in interface UniqueEntityLoaderprotected QueryParameters buildQueryParameters(Serializable id, Serializable[] ids, Object optionalObject, LockOptions lockOptions)
protected Object getObjectFromList(List results, Serializable id, SharedSessionContractImplementor session)
protected Object doBatchLoad(Serializable id, Loader loaderToUse, SharedSessionContractImplementor session, Serializable[] ids, Object optionalObject, LockOptions lockOptions)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.