public abstract class AbstractLoadPlanBasedEntityLoader extends org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader implements UniqueEntityLoader
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister,
SessionFactoryImplementor factory,
org.hibernate.loader.plan.exec.internal.EntityLoadQueryDetails entityLoaderQueryDetailsTemplate,
Type uniqueKeyType,
QueryBuildingParameters buildingParameters) |
protected |
AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister,
SessionFactoryImplementor factory,
org.hibernate.loader.plan.exec.internal.EntityLoadQueryDetails entityLoaderQueryDetailsTemplate,
Type uniqueKeyType,
QueryBuildingParameters buildingParameters,
ResultSetProcessorResolver resultSetProcessorResolver) |
|
AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister,
SessionFactoryImplementor factory,
String[] uniqueKeyColumnNames,
Type uniqueKeyType,
QueryBuildingParameters buildingParameters) |
|
AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister,
SessionFactoryImplementor factory,
String[] uniqueKeyColumnNames,
Type uniqueKeyType,
QueryBuildingParameters buildingParameters,
ResultSetProcessorResolver resultSetProcessorResolver) |
advance, bindNamedParameters, bindParameterValues, bindPositionalParameters, executeLoad, executeQueryStatement, getFactory, getLimitHandler, getResultSet, getScrollMode, prepareQueryStatementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadpublic AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister, SessionFactoryImplementor factory, String[] uniqueKeyColumnNames, Type uniqueKeyType, QueryBuildingParameters buildingParameters, ResultSetProcessorResolver resultSetProcessorResolver)
public AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister, SessionFactoryImplementor factory, String[] uniqueKeyColumnNames, Type uniqueKeyType, QueryBuildingParameters buildingParameters)
protected AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister, SessionFactoryImplementor factory, org.hibernate.loader.plan.exec.internal.EntityLoadQueryDetails entityLoaderQueryDetailsTemplate, Type uniqueKeyType, QueryBuildingParameters buildingParameters, ResultSetProcessorResolver resultSetProcessorResolver)
protected AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister, SessionFactoryImplementor factory, org.hibernate.loader.plan.exec.internal.EntityLoadQueryDetails entityLoaderQueryDetailsTemplate, Type uniqueKeyType, QueryBuildingParameters buildingParameters)
public OuterJoinLoadable getEntityPersister()
protected LoadQueryDetails getStaticLoadQuery()
getStaticLoadQuery in class org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoaderprotected String getEntityName()
public List<?> loadEntityBatch(Serializable[] idsInBatch, OuterJoinLoadable persister, LockOptions lockOptions, SharedSessionContractImplementor session)
public final List loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions) throws HibernateException
persister - only needed for logginglockOptions - HibernateExceptionpublic final List loadEntityBatch(SharedSessionContractImplementor session, Serializable[] ids, Type idType, Object optionalObject, String optionalEntityName, Serializable optionalId, EntityPersister persister, LockOptions lockOptions, Boolean readOnly) throws HibernateException
HibernateExceptionpublic Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session) throws HibernateException
UniqueEntityLoaderload in interface UniqueEntityLoaderHibernateException - indicates problem performing the load.public Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, Boolean readOnly) throws HibernateException
load in interface UniqueEntityLoaderHibernateExceptionpublic Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions)
UniqueEntityLoaderload in interface UniqueEntityLoaderid - 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.public Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session, LockOptions lockOptions, Boolean readOnly)
load in interface UniqueEntityLoader@Deprecated protected Object extractEntityResult(List results)
extractEntityResult(List, Serializable) should be used instead.protected Object extractEntityResult(List results, Serializable id)
protected int[] getNamedParameterLocs(String name)
getNamedParameterLocs in class org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoaderprotected void autoDiscoverTypes(ResultSet rs)
autoDiscoverTypes in class org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoaderCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.