类 EntityJoinWalker
- java.lang.Object
-
- org.hibernate.loader.JoinWalker
-
- org.hibernate.loader.AbstractEntityJoinWalker
-
- org.hibernate.loader.entity.EntityJoinWalker
-
public class EntityJoinWalker extends AbstractEntityJoinWalker
A walker for loaders that fetch entities- 作者:
- Gavin King
- 另请参阅:
EntityLoader
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.hibernate.loader.JoinWalker
JoinWalker.AssociationInitCallback
-
-
字段概要
-
从类继承的字段 org.hibernate.loader.JoinWalker
aliases, associations, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, ownerAssociationTypes, owners, persisters, sql, suffixes
-
-
构造器概要
构造器 构造器 说明 EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetComment()int[][]getCompositeKeyManyToOneTargetIndices()protected JoinTypegetJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)Determine the appropriate type of join (if any) to use to fetch the given association.-
从类继承的方法 org.hibernate.loader.AbstractEntityJoinWalker
getAlias, getPersister, getWhereFragment, initAll, initAll, initProjection, isDuplicateAssociation, isJoinedFetchEnabled, isJoinFetchEnabledByProfile, orderBy, toString
-
从类继承的方法 org.hibernate.loader.JoinWalker
countCollectionPersisters, countEntityPersisters, generateRootAlias, generateTableAlias, getAliases, getAssociations, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getFactory, getJoinType, getJoinType, getLoadQueryInfluencers, getLockModeArray, getLockModeOptions, getOwnerAssociationTypes, getOwners, getPersisters, getSQLString, getSuffixes, getWithClause, hasRestriction, initPersisters, initPersisters, initPersisters, isDuplicateAssociation, isJoinable, isJoinedFetchEnabledInMapping, isTooDeep, isTooManyCollections, mergeOrderings, mergeOuterJoins, orderBy, selectString, setAliases, setCollectionOwners, setCollectionPersisters, setCollectionSuffixes, setOwnerAssociationTypes, setOwners, setPersisters, setSql, setSuffixes, walkCollectionTree, walkEntityTree, whereString
-
-
-
-
构造器详细资料
-
EntityJoinWalker
public EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException
- 抛出:
MappingException
-
EntityJoinWalker
public EntityJoinWalker(OuterJoinLoadable persister, String[] uniqueKey, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException
- 抛出:
MappingException
-
-
方法详细资料
-
getJoinType
protected JoinType getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth) throws MappingException
从类复制的说明:JoinWalkerDetermine the appropriate type of join (if any) to use to fetch the given association.- 覆盖:
getJoinType在类中JoinWalker- 参数:
persister- The owner of the association.path- The path to the associationpropertyNumber- The property number representing the association.associationType- The association type.metadataFetchMode- The metadata-defined fetch mode.metadataCascadeStyle- The metadata-defined cascade style.lhsTable- The owner tablelhsColumns- The owner join columnsnullable- Is the association nullable.currentDepth- Current join depth- 返回:
- type of join to use (
JoinType.INNER_JOIN,JoinType.LEFT_OUTER_JOIN, or -1 to indicate no joining. - 抛出:
MappingException- ??
-
getComment
public String getComment()
- 指定者:
getComment在类中AbstractEntityJoinWalker
-
getCompositeKeyManyToOneTargetIndices
public int[][] getCompositeKeyManyToOneTargetIndices()
-
-