类 LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader
- java.lang.Object
-
- org.hibernate.loader.entity.plan.BatchingEntityLoader
-
- org.hibernate.loader.entity.plan.LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader
-
- 所有已实现的接口:
UniqueEntityLoader
public static class LegacyBatchingEntityLoaderBuilder.LegacyBatchingEntityLoader extends BatchingEntityLoader
-
-
构造器概要
构造器 限定符 构造器 说明 LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)protectedLegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Objectload(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)Load an entity instance by id.Objectload(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)-
从类继承的方法 org.hibernate.loader.entity.plan.BatchingEntityLoader
buildQueryParameters, doBatchLoad, getObjectFromList, load, persister
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.loader.entity.UniqueEntityLoader
load
-
-
-
-
构造器详细资料
-
LegacyBatchingEntityLoader
public LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
LegacyBatchingEntityLoader
public LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
LegacyBatchingEntityLoader
protected LegacyBatchingEntityLoader(OuterJoinLoadable persister, int maxBatchSize, LockMode lockMode, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
-
方法详细资料
-
load
public Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
从接口复制的说明:UniqueEntityLoaderLoad an entity instance by id. If optionalObject is supplied (non-null, the entity state is loaded into that object instance instead of instantiating a new one.- 参数:
id- 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.- 返回:
- The loaded entity
-
load
public Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)
-
-