org.hibernate.loader
Class AbstractEntityLoader
java.lang.Object
org.hibernate.loader.Loader
org.hibernate.loader.BasicLoader
org.hibernate.loader.OuterJoinLoader
org.hibernate.loader.AbstractEntityLoader
- Direct Known Subclasses:
- CriteriaLoader, EntityLoader
- public abstract class AbstractEntityLoader
- extends OuterJoinLoader
Abstract superclass for entity loaders that use outer joins
- Author:
- Gavin King
- See Also:
CriteriaLoader
,
EntityLoader
Methods inherited from class org.hibernate.loader.OuterJoinLoader |
countCollectionPersisters, countEntityPersisters, generateRootAlias, generateTableAlias, getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEnabledFilters, getEntityPersisters, getJoinType, getJoinType, getLockModes, getOwnerAssociationTypes, getOwners, getSQLString, getSuffixes, initPersisters, isDuplicateAssociation, isDuplicateAssociation, isJoinable, isJoinedFetchEnabledInMapping, isTooDeep, mergeOuterJoins, orderBy, orderBy, selectString, walkCollectionTree, walkEntityTree, whereString |
Methods inherited from class org.hibernate.loader.Loader |
applyLocks, bindNamedParameters, bindPositionalParameters, doList, getEntityEagerPropertyFetches, getFactory, getQueryIdentifier, getResultColumnOrRow, getResultList, getResultSet, getResultSet, hasSubselectLoadableCollections, isSingleRowLoader, isSubselectLoadingEnabled, list, loadCollection, loadCollectionBatch, loadCollectionSubselect, loadEntity, loadEntityBatch, loadSingleRow, prepareQueryStatement, preprocessSQL, scroll, upgradeLocks |
AbstractEntityLoader
public AbstractEntityLoader(OuterJoinLoadable persister,
SessionFactoryImplementor factory,
Map enabledFilters)
initAll
protected final void initAll(String whereString,
String orderByString,
LockMode lockMode)
throws MappingException
- Throws:
MappingException
initProjection
protected final void initProjection(String projectionString,
String whereString,
String orderByString,
String groupByString,
LockMode lockMode)
throws MappingException
- Throws:
MappingException
getWhereFragment
protected String getWhereFragment()
throws MappingException
- Don't bother with the discriminator, unless overridded by subclass
- Throws:
MappingException
getPersister
protected final Loadable getPersister()
getAlias
protected final String getAlias()
isJoinedFetchEnabled
protected boolean isJoinedFetchEnabled(AssociationType type,
FetchMode config)
- The superclass deliberately excludes collections
- Overrides:
isJoinedFetchEnabled
in class OuterJoinLoader
toString
public String toString()
- Overrides:
toString
in class Loader
getComment
public abstract String getComment()