类 CollectionLoader
- java.lang.Object
-
- org.hibernate.loader.Loader
-
- org.hibernate.loader.BasicLoader
-
- org.hibernate.loader.OuterJoinLoader
-
- org.hibernate.loader.collection.CollectionLoader
-
- 所有已实现的接口:
CollectionInitializer
- 直接已知子类:
BasicCollectionLoader,OneToManyLoader
public class CollectionLoader extends OuterJoinLoader implements CollectionInitializer
Superclass for loaders that initialize collections- 作者:
- Gavin King
- 另请参阅:
OneToManyLoader,BasicCollectionLoader
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.hibernate.loader.Loader
Loader.SqlStatementWrapper
-
-
字段概要
-
从类继承的字段 org.hibernate.loader.OuterJoinLoader
aliases, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, ownerAssociationTypes, owners, persisters, sql, suffixes
-
从类继承的字段 org.hibernate.loader.BasicLoader
NO_SUFFIX
-
从类继承的字段 org.hibernate.loader.Loader
LOG, SELECT, SELECT_DISTINCT
-
-
构造器概要
构造器 构造器 说明 CollectionLoader(QueryableCollection collectionPersister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected QueryableCollectioncollectionPersister()protected TypegetKeyType()voidinitialize(Serializable id, SharedSessionContractImplementor session)Initialize the given collectionprotected booleanisSubselectLoadingEnabled()StringtoString()-
从类继承的方法 org.hibernate.loader.OuterJoinLoader
getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEntityPersisters, getLoadQueryInfluencers, getLockModes, getLockOptions, getOwnerAssociationTypes, getOwners, getSQLString, getSuffixes, initFromWalker
-
从类继承的方法 org.hibernate.loader.BasicLoader
generateSuffixes, generateSuffixes, getCollectionAliases, getEntityAliases, postInstantiate
-
从类继承的方法 org.hibernate.loader.Loader
applyLocks, applyPostLoadLocks, areResultSetRowsTransformedImmediately, autoDiscoverTypes, bindNamedParameters, bindParameterValues, bindPositionalParameters, checkScrollability, determineFollowOnLockMode, doList, doQueryAndInitializeNonLazyCollections, doQueryAndInitializeNonLazyCollections, executeQueryStatement, executeQueryStatement, extractKeysFromResultSet, getCompositeKeyManyToOneTargetIndices, getEntityEagerPropertyFetches, getFactory, getLimitHandler, getNamedParameterLocs, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultRow, getResultRowAliases, getResultSet, getResultSet, hasSubselectLoadableCollections, includeInResultRow, isSingleRowLoader, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, processDistinctKeyword, processResultSet, putResultInQueryCache, resolveResultTransformer, scroll, shouldUseFollowOnLocking, upgradeLocks
-
-
-
-
构造器详细资料
-
CollectionLoader
public CollectionLoader(QueryableCollection collectionPersister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
-
方法详细资料
-
collectionPersister
protected QueryableCollection collectionPersister()
-
isSubselectLoadingEnabled
protected boolean isSubselectLoadingEnabled()
- 覆盖:
isSubselectLoadingEnabled在类中Loader
-
initialize
public void initialize(Serializable id, SharedSessionContractImplementor session) throws HibernateException
从接口复制的说明:CollectionInitializerInitialize the given collection- 指定者:
initialize在接口中CollectionInitializer- 抛出:
HibernateException
-
getKeyType
protected Type getKeyType()
-
-