org.hibernate.loader.collection
Class SubselectCollectionLoader
java.lang.Object
org.hibernate.loader.Loader
org.hibernate.loader.BasicLoader
org.hibernate.loader.OuterJoinLoader
org.hibernate.loader.collection.CollectionLoader
org.hibernate.loader.collection.BasicCollectionLoader
org.hibernate.loader.collection.SubselectCollectionLoader
- All Implemented Interfaces:
- CollectionInitializer
public class SubselectCollectionLoader
- extends BasicCollectionLoader
Implements subselect fetching for a collection
Methods inherited from class org.hibernate.loader.OuterJoinLoader |
getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEntityPersisters, getLoadQueryInfluencers, getLockModes, getLockOptions, getOwnerAssociationTypes, getOwners, getSQLString, getSuffixes, initFromWalker |
Methods inherited from class org.hibernate.loader.Loader |
applyLocks, applyPostLoadLocks, areResultSetRowsTransformedImmediately, autoDiscoverTypes, bindNamedParameters, bindParameterValues, bindPositionalParameters, checkScrollability, doList, extractKeysFromResultSet, getCompositeKeyManyToOneTargetIndices, getEntityEagerPropertyFetches, getFactory, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultRow, getResultRowAliases, getResultSet, hasSubselectLoadableCollections, includeInResultRow, isSingleRowLoader, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, resolveResultTransformer, scroll, upgradeLocks |
SubselectCollectionLoader
public SubselectCollectionLoader(QueryableCollection persister,
String subquery,
Collection entityKeys,
QueryParameters queryParameters,
Map namedParameterLocMap,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers)
throws MappingException
- Throws:
MappingException
initialize
public void initialize(Serializable id,
SessionImplementor session)
throws HibernateException
- Description copied from interface:
CollectionInitializer
- Initialize the given collection
- Specified by:
initialize
in interface CollectionInitializer
- Overrides:
initialize
in class CollectionLoader
- Throws:
HibernateException
getNamedParameterLocs
public int[] getNamedParameterLocs(String name)
- Overrides:
getNamedParameterLocs
in class Loader
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.