类 CollectionElementLoader
- java.lang.Object
-
- org.hibernate.loader.Loader
-
- org.hibernate.loader.BasicLoader
-
- org.hibernate.loader.OuterJoinLoader
-
- org.hibernate.loader.entity.CollectionElementLoader
-
public class CollectionElementLoader extends OuterJoinLoader
- 作者:
- Gavin King
-
-
嵌套类概要
-
从类继承的嵌套类/接口 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
SELECT, SELECT_DISTINCT
-
-
构造器概要
构造器 构造器 说明 CollectionElementLoader(QueryableCollection collectionPersister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected ObjectgetResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)Get the actual object that is returned in the user-visible result list.protected booleanisSingleRowLoader()Return false is this loader is a batch entity loaderObjectloadElement(SharedSessionContractImplementor session, Object key, Object index)-
从类继承的方法 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, getResultList, getResultRow, getResultRowAliases, getResultSet, getResultSet, hasSubselectLoadableCollections, includeInResultRow, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, processDistinctKeyword, processResultSet, putResultInQueryCache, resolveResultTransformer, scroll, shouldUseFollowOnLocking, toString, upgradeLocks
-
-
-
-
构造器详细资料
-
CollectionElementLoader
public CollectionElementLoader(QueryableCollection collectionPersister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException
- 抛出:
MappingException
-
-
方法详细资料
-
loadElement
public Object loadElement(SharedSessionContractImplementor session, Object key, Object index) throws HibernateException
-
getResultColumnOrRow
protected Object getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SharedSessionContractImplementor session)
从类复制的说明:LoaderGet the actual object that is returned in the user-visible result list. This empty implementation merely returns its first argument. This is overridden by some subclasses.- 覆盖:
getResultColumnOrRow在类中Loader
-
isSingleRowLoader
protected boolean isSingleRowLoader()
从类复制的说明:LoaderReturn false is this loader is a batch entity loader- 覆盖:
isSingleRowLoader在类中Loader
-
-