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) |
|
AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister,
SessionFactoryImplementor factory,
String[] uniqueKeyColumnNames,
Type uniqueKeyType,
QueryBuildingParameters buildingParameters) |
advance, bindNamedParameters, bindParameterValues, bindPositionalParameters, executeLoad, executeLoad, executeQueryStatement, executeQueryStatement, getFactory, getLimitHandler, getResultSet, getScrollMode, prepareQueryStatementpublic 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)
protected LoadQueryDetails getStaticLoadQuery()
getStaticLoadQuery in class org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoaderprotected String getEntityName()
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 Object load(Serializable id, Object optionalObject, SharedSessionContractImplementor session) throws HibernateException
UniqueEntityLoaderload 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.@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-2018 Red Hat, Inc. All Rights Reserved.