public abstract class AbstractLoadPlanBasedCollectionInitializer extends AbstractLoadPlanBasedLoader implements CollectionInitializer
CollectionInitializer
implementation based on using LoadPlansAbstractLoadPlanBasedLoader.SqlStatementWrapper
Constructor and Description |
---|
AbstractLoadPlanBasedCollectionInitializer(QueryableCollection collectionPersister,
QueryBuildingParameters buildingParameters) |
Modifier and Type | Method and 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
|
advance, bindNamedParameters, bindParameterValues, bindPositionalParameters, executeLoad, executeQueryStatement, executeQueryStatement, getFactory, getLimitHandler, getResultSet, getScrollMode, prepareQueryStatement
public AbstractLoadPlanBasedCollectionInitializer(QueryableCollection collectionPersister, QueryBuildingParameters buildingParameters)
public void initialize(Serializable id, SharedSessionContractImplementor session) throws HibernateException
CollectionInitializer
initialize
in interface CollectionInitializer
HibernateException
protected QueryableCollection collectionPersister()
protected LoadQueryDetails getStaticLoadQuery()
getStaticLoadQuery
in class AbstractLoadPlanBasedLoader
protected int[] getNamedParameterLocs(String name)
getNamedParameterLocs
in class AbstractLoadPlanBasedLoader
protected void autoDiscoverTypes(ResultSet rs)
autoDiscoverTypes
in class AbstractLoadPlanBasedLoader
Copyright © 2021 JBoss by Red Hat. All rights reserved.