org.hibernate.loader.entity

Class EntityJoinWalker


public class EntityJoinWalker
extends AbstractEntityJoinWalker

A walker for loaders that fetch entities
Author:
Gavin King
See Also:
EntityLoader

Field Summary

Fields inherited from class org.hibernate.loader.JoinWalker

aliases, associations, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, ownerAssociationTypes, owners, persisters, sql, suffixes

Constructor Summary

EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, Map enabledFilters)

Method Summary

String
getComment()
protected boolean
isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)
Disable outer join fetching if this loader obtains an upgrade lock mode

Methods inherited from class org.hibernate.loader.AbstractEntityJoinWalker

getAlias, getComment, getPersister, getWhereFragment, initAll, initProjection, isJoinedFetchEnabled, toString

Methods inherited from class org.hibernate.loader.JoinWalker

countCollectionPersisters, countEntityPersisters, generateRootAlias, generateTableAlias, getAliases, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getEnabledFilters, getFactory, getJoinType, getJoinType, getLockModeArray, getOwnerAssociationTypes, getOwners, getPersisters, getSQLString, getSuffixes, initPersisters, isDuplicateAssociation, isDuplicateAssociation, isJoinable, isJoinedFetchEnabled, isJoinedFetchEnabledInMapping, isTooDeep, isTooManyCollections, mergeOrderings, mergeOuterJoins, orderBy, orderBy, selectString, setAliases, setCollectionOwners, setCollectionPersisters, setCollectionSuffixes, setLockModeArray, setOwnerAssociationTypes, setOwners, setPersisters, setSql, setSuffixes, walkCollectionTree, walkEntityTree, whereString

Constructor Details

EntityJoinWalker

public EntityJoinWalker(OuterJoinLoadable persister,
                        String[] uniqueKey,
                        int batchSize,
                        LockMode lockMode,
                        SessionFactoryImplementor factory,
                        Map enabledFilters)
            throws MappingException

Method Details

getComment

public String getComment()
Overrides:
getComment in interface AbstractEntityJoinWalker

isJoinedFetchEnabled

protected boolean isJoinedFetchEnabled(AssociationType type,
                                       FetchMode config,
                                       CascadeStyle cascadeStyle)
Disable outer join fetching if this loader obtains an upgrade lock mode
Overrides:
isJoinedFetchEnabled in interface AbstractEntityJoinWalker