org.hibernate.loader.collection
Class OneToManyLoader
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
- All Implemented Interfaces:
- CollectionInitializer
- Direct Known Subclasses:
- SubselectOneToManyLoader
public class OneToManyLoader
- extends CollectionLoader
Loads one-to-many associations
The collection persister must implement QueryableCOllection. For
other collections, create a customized subclass of Loader.
- Author:
- Gavin King
- See Also:
BasicCollectionLoader
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, getNamedParameterLocs, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultSet, hasSubselectLoadableCollections, isSingleRowLoader, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, scroll, upgradeLocks |
OneToManyLoader
public OneToManyLoader(QueryableCollection oneToManyPersister,
SessionFactoryImplementor session,
Map enabledFilters)
throws MappingException
- Throws:
MappingException
OneToManyLoader
public OneToManyLoader(QueryableCollection oneToManyPersister,
int batchSize,
SessionFactoryImplementor factory,
Map enabledFilters)
throws MappingException
- Throws:
MappingException
OneToManyLoader
public OneToManyLoader(QueryableCollection oneToManyPersister,
int batchSize,
String subquery,
SessionFactoryImplementor factory,
Map enabledFilters)
throws MappingException
- Throws:
MappingException
Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved