Class SingleIdEntityLoaderDynamicBatch<T>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.SingleIdEntityLoaderSupport<T>
-
- org.hibernate.loader.ast.internal.SingleIdEntityLoaderDynamicBatch<T>
-
- All Implemented Interfaces:
EntityLoader
,Loader
,SingleEntityLoader<T>
,SingleIdEntityLoader<T>
public class SingleIdEntityLoaderDynamicBatch<T> extends SingleIdEntityLoaderSupport<T>
-
-
Field Summary
-
Fields inherited from class org.hibernate.loader.ast.internal.SingleIdEntityLoaderSupport
sessionFactory
-
-
Constructor Summary
Constructors Constructor Description SingleIdEntityLoaderDynamicBatch(EntityMappingType entityDescriptor, int maxBatchSize, SessionFactoryImplementor sessionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by primary key value, populating the passed entity instance.T
load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by primary key value-
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.SingleIdEntityLoader
load
-
-
-
-
Constructor Detail
-
SingleIdEntityLoaderDynamicBatch
public SingleIdEntityLoaderDynamicBatch(EntityMappingType entityDescriptor, int maxBatchSize, SessionFactoryImplementor sessionFactory)
-
-
Method Detail
-
load
public T load(Object pkValue, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Description copied from interface:SingleIdEntityLoader
Load by primary key value
-
load
public T load(Object pkValue, Object entityInstance, LockOptions lockOptions, Boolean readOnly, 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.
-
-