当前页面:
在线文档首页 >
Hibernate 3.2.3 正式版 API 英文文档
CollectionLoader (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档
org.hibernate.loader.collection
Class CollectionLoader
java.lang.Object
org.hibernate.loader.Loader
org.hibernate.loader.BasicLoader
org.hibernate.loader.OuterJoinLoader
org.hibernate.loader.collection.CollectionLoader
- All Implemented Interfaces:
- CollectionInitializer
- Direct Known Subclasses:
- BasicCollectionLoader, OneToManyLoader
- public class CollectionLoader
- extends OuterJoinLoader
- implements CollectionInitializer
Superclass for loaders that initialize collections
- Author:
- Gavin King
- See Also:
OneToManyLoader
,
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, processFilters, scroll, upgradeLocks |
CollectionLoader
public CollectionLoader(QueryableCollection collectionPersister,
SessionFactoryImplementor factory,
Map enabledFilters)
isSubselectLoadingEnabled
protected boolean isSubselectLoadingEnabled()
- Overrides:
isSubselectLoadingEnabled
in class Loader
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
- Throws:
HibernateException
getKeyType
protected Type getKeyType()
toString
public String toString()
- Overrides:
toString
in class Loader