当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
SubselectOneToManyLoader (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.loader.collection
Class SubselectOneToManyLoader
java.lang.Object
org.hibernate.loader.Loader
org.hibernate.loader.BasicLoader
org.hibernate.loader.OuterJoinLoader
org.hibernate.loader.collection.CollectionLoader
org.hibernate.loader.collection.OneToManyLoader
org.hibernate.loader.collection.SubselectOneToManyLoader
- All Implemented Interfaces:
- CollectionInitializer
- public class SubselectOneToManyLoader
- extends OneToManyLoader
Implements subselect fetching for a one to many association
- Author:
- Gavin King
Methods inherited from class org.hibernate.loader.OuterJoinLoader |
getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEnabledFilters, getEntityPersisters, getLockModes, getOwnerAssociationTypes, getOwners, getSQLString, getSuffixes, initFromWalker |
Methods inherited from class org.hibernate.loader.Loader |
applyLocks, autoDiscoverTypes, bindNamedParameters, bindParameterValues, bindPositionalParameters, checkScrollability, doList, getEntityEagerPropertyFetches, getFactory, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultSet, hasSubselectLoadableCollections, isSingleRowLoader, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, processFilters, scroll, upgradeLocks |
SubselectOneToManyLoader
public SubselectOneToManyLoader(QueryableCollection persister,
String subquery,
Collection entityKeys,
QueryParameters queryParameters,
Map namedParameterLocMap,
SessionFactoryImplementor factory,
Map enabledFilters)
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