类 BasicCollectionJoinWalker
- java.lang.Object
-
- org.hibernate.loader.JoinWalker
-
- org.hibernate.loader.collection.CollectionJoinWalker
-
- org.hibernate.loader.collection.BasicCollectionJoinWalker
-
public class BasicCollectionJoinWalker extends CollectionJoinWalker
Walker for collections of values and many-to-many associations- 作者:
- Gavin King
- 另请参阅:
BasicCollectionLoader
-
-
嵌套类概要
-
从类继承的嵌套类/接口 org.hibernate.loader.JoinWalker
JoinWalker.AssociationInitCallback
-
-
字段概要
-
从类继承的字段 org.hibernate.loader.JoinWalker
aliases, associations, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, lockOptions, ownerAssociationTypes, owners, persisters, sql, suffixes
-
-
构造器概要
构造器 构造器 说明 BasicCollectionJoinWalker(QueryableCollection collectionPersister, int batchSize, String subquery, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.StringtoString()-
从类继承的方法 org.hibernate.loader.collection.CollectionJoinWalker
whereString
-
从类继承的方法 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, isDuplicateAssociation, isJoinable, isJoinedFetchEnabled, isJoinedFetchEnabledInMapping, isTooDeep, isTooManyCollections, mergeOrderings, mergeOuterJoins, orderBy, orderBy, selectString, setAliases, setCollectionOwners, setCollectionPersisters, setCollectionSuffixes, setOwnerAssociationTypes, setOwners, setPersisters, setSql, setSuffixes, walkCollectionTree, walkEntityTree, whereString
-
-
-
-
构造器详细资料
-
BasicCollectionJoinWalker
public BasicCollectionJoinWalker(QueryableCollection collectionPersister, int batchSize, String subquery, 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- ??
-
-