Top Fields Constructors Methods
org.hibernate.loader.entity

public Class CollectionElementLoader

extends OuterJoinLoader
Class Inheritance
Imports
java.sql.ResultSet, .SQLException, java.util.List, org.slf4j.Logger, .LoggerFactory, org.hibernate.HibernateException, .LockMode, .MappingException, org.hibernate.engine.SessionFactoryImplementor, .SessionImplementor, .LoadQueryInfluencers, org.hibernate.loader.JoinWalker, .OuterJoinLoader, org.hibernate.persister.collection.QueryableCollection, org.hibernate.persister.entity.OuterJoinLoadable, org.hibernate.transform.ResultTransformer, org.hibernate.type.Type, org.hibernate.util.ArrayHelper

Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final String
private final Type
private final Type
private static final Logger
private final OuterJoinLoadable
Inherited from org.hibernate.loader.OuterJoinLoader:
aliasescollectionOwnerscollectionPersisterscollectionSuffixeslockModeArrayownerAssociationTypesownerspersisterssqlsuffixes

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Object
getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session)

Overrides org.hibernate.loader.Loader.getResultColumnOrRow.

Get the actual object that is returned in the user-visible result list.
protected boolean
isSingleRowLoader()

Overrides org.hibernate.loader.Loader.isSingleRowLoader.

Return false is this loader is a batch entity loader
public Object
Inherited from org.hibernate.loader.OuterJoinLoader:
getAliasesgetCollectionOwnersgetCollectionPersistersgetCollectionSuffixesgetDialectgetEntityPersistersgetLoadQueryInfluencersgetLockModesgetLockOptionsgetOwnerAssociationTypesgetOwnersgetSQLStringgetSuffixesinitFromWalker

Field Detail

entityNameback to summary
private final String entityName
indexTypeback to summary
private final Type indexType
keyTypeback to summary
private final Type keyType
logback to summary
private static final Logger log

Hides org.hibernate.loader.Loader.log.

persisterback to summary
private final OuterJoinLoadable persister

Constructor Detail

CollectionElementLoaderback to summary
public CollectionElementLoader(QueryableCollection collectionPersister, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException

Method Detail

getResultColumnOrRowback to summary
protected Object getResultColumnOrRow(Object[] row, ResultTransformer transformer, ResultSet rs, SessionImplementor session) throws SQLException, HibernateException

Overrides org.hibernate.loader.Loader.getResultColumnOrRow.

Doc from org.hibernate.loader.Loader.getResultColumnOrRow.

Get 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.

isSingleRowLoaderback to summary
protected boolean isSingleRowLoader()

Overrides org.hibernate.loader.Loader.isSingleRowLoader.

Doc from org.hibernate.loader.Loader.isSingleRowLoader.

Return false is this loader is a batch entity loader

loadElementback to summary
public Object loadElement(SessionImplementor session, Object key, Object index) throws HibernateException