public class DynamicBatchingEntityLoader extends BatchingEntityLoader
| Constructor and Description |
|---|
DynamicBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockOptions lockOptions,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
| Modifier and Type | Method and Description |
|---|---|
Object |
load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions)
Load an entity instance by id.
|
Object |
load(Serializable id,
Object optionalObject,
SharedSessionContractImplementor session,
LockOptions lockOptions,
Boolean readOnly) |
buildQueryParameters, doBatchLoad, getObjectFromList, load, persisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitload, loadpublic DynamicBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
public Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
UniqueEntityLoaderid - 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.public Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.