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, wait
load
public BatchingEntityLoader(EntityPersister persister)
public EntityPersister persister()
public Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session)
UniqueEntityLoader
load
in interface UniqueEntityLoader
protected 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 © 2021 JBoss by Red Hat. All rights reserved.