Class SingleIdEntityLoaderStandardImpl<T>
- java.lang.Object
-
- org.hibernate.loader.ast.internal.SingleIdEntityLoaderSupport<T>
-
- org.hibernate.loader.ast.internal.SingleIdEntityLoaderStandardImpl<T>
-
- All Implemented Interfaces:
EntityLoader
,Loader
,SingleEntityLoader<T>
,SingleIdEntityLoader<T>
public class SingleIdEntityLoaderStandardImpl<T> extends SingleIdEntityLoaderSupport<T>
Standard implementation ofSingleIdEntityLoader
.
-
-
Field Summary
-
Fields inherited from class org.hibernate.loader.ast.internal.SingleIdEntityLoaderSupport
sessionFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description SingleIdEntityLoaderStandardImpl(EntityMappingType entityDescriptor, LoadQueryInfluencers loadQueryInfluencers)
protected
SingleIdEntityLoaderStandardImpl(EntityMappingType entityDescriptor, LoadQueryInfluencers influencers, BiFunction<LockOptions,LoadQueryInfluencers,SingleIdLoadPlan<T>> loadPlanCreator)
For Hibernate Reactive.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
load(Object key, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
T
load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Load by primary key valueSingleIdLoadPlan<T>
resolveLoadPlan(LockOptions lockOptions, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)
-
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
-
SingleIdEntityLoaderStandardImpl
public SingleIdEntityLoaderStandardImpl(EntityMappingType entityDescriptor, LoadQueryInfluencers loadQueryInfluencers)
-
SingleIdEntityLoaderStandardImpl
protected SingleIdEntityLoaderStandardImpl(EntityMappingType entityDescriptor, LoadQueryInfluencers influencers, BiFunction<LockOptions,LoadQueryInfluencers,SingleIdLoadPlan<T>> loadPlanCreator)
For Hibernate Reactive.Hibernate Reactive needs to be able to override the LoadPlan.
-
-
Method Detail
-
load
public T load(Object key, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
Description copied from interface:SingleIdEntityLoader
Load by primary key value
-
load
public T load(Object key, Object entityInstance, LockOptions lockOptions, Boolean readOnly, SharedSessionContractImplementor session)
-
resolveLoadPlan
@Internal public SingleIdLoadPlan<T> resolveLoadPlan(LockOptions lockOptions, LoadQueryInfluencers loadQueryInfluencers, SessionFactoryImplementor sessionFactory)
-
-