public static class DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader extends BatchingEntityLoader
Constructor and Description |
---|
DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockOptions lockOptions,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
Modifier and Type | Method and Description |
---|---|
Object |
load(Serializable id,
Object optionalObject,
SessionImplementor session,
LockOptions lockOptions)
Load an entity instance by id.
|
buildQueryParameters, doBatchLoad, getObjectFromList, load, persister
public DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
public DynamicBatchingEntityLoaderBuilder.DynamicBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
public Object load(Serializable id, Object optionalObject, SessionImplementor session, LockOptions lockOptions)
UniqueEntityLoader
id
- The id to be loadedoptionalObject
- The (optional) entity instance in to which to load the statesession
- The session from which the request originatedlockOptions
- The lock options.Copyright © 2018 JBoss by Red Hat. All rights reserved.