Class AbstractLoadPlanBasedCollectionInitializer
- java.lang.Object
-
- org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader
-
- org.hibernate.loader.collection.plan.AbstractLoadPlanBasedCollectionInitializer
-
- All Implemented Interfaces:
CollectionInitializer
- Direct Known Subclasses:
CollectionLoader
public abstract class AbstractLoadPlanBasedCollectionInitializer extends org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader implements CollectionInitializer
An abstractCollectionInitializer
implementation based on using LoadPlans
-
-
Constructor Summary
Constructors Constructor Description AbstractLoadPlanBasedCollectionInitializer(QueryableCollection collectionPersister, QueryBuildingParameters buildingParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
autoDiscoverTypes(ResultSet rs)
protected QueryableCollection
collectionPersister()
protected int[]
getNamedParameterLocs(String name)
protected LoadQueryDetails
getStaticLoadQuery()
void
initialize(Serializable id, SharedSessionContractImplementor session)
Initialize the given collection-
Methods inherited from class org.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader
advance, bindNamedParameters, bindParameterValues, bindPositionalParameters, executeLoad, executeQueryStatement, executeQueryStatement, getFactory, getLimitHandler, getResultSet, getScrollMode, prepareQueryStatement
-
-
-
-
Constructor Detail
-
AbstractLoadPlanBasedCollectionInitializer
public AbstractLoadPlanBasedCollectionInitializer(QueryableCollection collectionPersister, QueryBuildingParameters buildingParameters)
-
-
Method Detail
-
initialize
public void initialize(Serializable id, SharedSessionContractImplementor session) throws HibernateException
Description copied from interface:CollectionInitializer
Initialize the given collection- Specified by:
initialize
in interfaceCollectionInitializer
- Throws:
HibernateException
-
collectionPersister
protected QueryableCollection collectionPersister()
-
getStaticLoadQuery
protected LoadQueryDetails getStaticLoadQuery()
- Specified by:
getStaticLoadQuery
in classorg.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader
-
getNamedParameterLocs
protected int[] getNamedParameterLocs(String name)
- Specified by:
getNamedParameterLocs
in classorg.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader
-
autoDiscoverTypes
protected void autoDiscoverTypes(ResultSet rs)
- Specified by:
autoDiscoverTypes
in classorg.hibernate.loader.plan.exec.internal.AbstractLoadPlanBasedLoader
-
-