Class AbstractEntityBatchLoader<T>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.SingleIdEntityLoaderSupport<T>
-
- org.hibernate.loader.ast.internal.AbstractEntityBatchLoader<T>
-
- All Implemented Interfaces:
BatchLoader
,EntityBatchLoader<T>
,EntityLoader
,Loader
,MultiKeyLoader
,SingleEntityLoader<T>
,SingleIdEntityLoader<T>
- Direct Known Subclasses:
EntityBatchLoaderArrayParam
,EntityBatchLoaderInPredicate
public abstract class AbstractEntityBatchLoader<T> extends SingleIdEntityLoaderSupport<T> implements EntityBatchLoader<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected SingleIdEntityLoaderStandardImpl<T>
singleIdLoader
-
Fields inherited from class org.hibernate.loader.ast.internal.SingleIdEntityLoaderSupport
sessionFactory
-
-
Constructor Summary
Constructors Constructor Description AbstractEntityBatchLoader(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
load(Object pkValue, Object entityInstance, LockOptions lockOptions, SharedSessionContractImplementor session)
Load by primary key value, populating the passed entity instance.-
Methods inherited from class org.hibernate.loader.ast.internal.SingleIdEntityLoaderSupport
getLoadable, loadDatabaseSnapshot
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.loader.ast.spi.BatchLoader
getDomainBatchSize
-
Methods inherited from interface org.hibernate.loader.ast.spi.SingleEntityLoader
getLoadable
-
Methods inherited from interface org.hibernate.loader.ast.spi.SingleIdEntityLoader
load, load, loadDatabaseSnapshot
-
-
-
-
Field Detail
-
singleIdLoader
protected final SingleIdEntityLoaderStandardImpl<T> singleIdLoader
-
-
Constructor Detail
-
AbstractEntityBatchLoader
public AbstractEntityBatchLoader(EntityMappingType entityDescriptor, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
load
public T load(Object pkValue, Object entityInstance, LockOptions lockOptions, SharedSessionContractImplementor session)
Description copied from interface:SingleIdEntityLoader
Load by primary key value, populating the passed entity instance. Used to initialize an uninitialized bytecode-proxy orLoadEvent
handling. The passed instance is the enhanced proxy or the entity to be loaded.- Specified by:
load
in interfaceSingleIdEntityLoader<T>
-
-