站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

EntityJoinWalker (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.loader.entity
Class EntityJoinWalker

java.lang.Object
  extended byorg.hibernate.loader.JoinWalker
      extended byorg.hibernate.loader.AbstractEntityJoinWalker
          extended byorg.hibernate.loader.entity.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, getPersister, getWhereFragment, initAll, initProjection, 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, isJoinedFetchEnabledInMapping, isTooDeep, isTooManyCollections, mergeOrderings, mergeOuterJoins, orderBy, orderBy, selectString, setAliases, setCollectionOwners, setCollectionPersisters, setCollectionSuffixes, setLockModeArray, setOwnerAssociationTypes, setOwners, setPersisters, setSql, setSuffixes, walkCollectionTree, walkEntityTree, whereString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityJoinWalker

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

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 class AbstractEntityJoinWalker

getComment

public String getComment()
Specified by:
getComment in class AbstractEntityJoinWalker