org.hibernate.loader.entity
Class 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
- Author:
- Gavin King
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, getResultList, getResultSet, hasSubselectLoadableCollections, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntity, loadEntityBatch, loadSequentialRowsForward, loadSequentialRowsReverse, loadSingleRow, needsFetchingScroll, prepareQueryStatement, preprocessSQL, scroll, toString, upgradeLocks |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CollectionElementLoader
public CollectionElementLoader(QueryableCollection collectionPersister,
SessionFactoryImplementor factory,
java.util.Map enabledFilters)
throws MappingException
- Throws:
MappingException
loadElement
public java.lang.Object loadElement(SessionImplementor session,
java.lang.Object key,
java.lang.Object index)
throws HibernateException
- Throws:
HibernateException
getResultColumnOrRow
protected java.lang.Object getResultColumnOrRow(java.lang.Object[] row,
ResultTransformer transformer,
java.sql.ResultSet rs,
SessionImplementor session)
throws java.sql.SQLException,
HibernateException
- Description copied from class:
Loader
- 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.
- Overrides:
getResultColumnOrRow
in class Loader
- Throws:
java.sql.SQLException
HibernateException
isSingleRowLoader
protected boolean isSingleRowLoader()
- Description copied from class:
Loader
- Return false is this loader is a batch entity loader
- Overrides:
isSingleRowLoader
in class Loader
Copyright © 2008 Hibernate.org. All Rights Reserved.