Package org.hibernate.loader.collection
Class OneToManyJoinWalker
- java.lang.Object
-
- org.hibernate.loader.JoinWalker
-
- org.hibernate.loader.collection.CollectionJoinWalker
-
- org.hibernate.loader.collection.OneToManyJoinWalker
-
public class OneToManyJoinWalker extends CollectionJoinWalker
Walker for one-to-many associations- See Also:
OneToManyLoader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.hibernate.loader.JoinWalker
JoinWalker.AssociationInitCallback
-
-
Field Summary
-
Fields inherited from class org.hibernate.loader.JoinWalker
aliases, associations, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, lockOptions, ownerAssociationTypes, owners, persisters, sql, suffixes
-
-
Constructor Summary
Constructors Constructor Description OneToManyJoinWalker(QueryableCollection oneToManyPersister, int batchSize, String subquery, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isDuplicateAssociation(String foreignKeyTable, String[] foreignKeyColumns)
Used to detect circularities in the joined graph, note that this method is side-effectyString
toString()
-
Methods inherited from class org.hibernate.loader.collection.CollectionJoinWalker
whereString
-
Methods inherited from class org.hibernate.loader.JoinWalker
countCollectionPersisters, countEntityPersisters, generateRootAlias, generateTableAlias, getAliases, getAssociations, getCollectionOwners, getCollectionPersisters, getCollectionSuffixes, getDialect, getFactory, getJoinType, getJoinType, getJoinType, getLoadQueryInfluencers, getLockModeArray, getLockModeOptions, getOwnerAssociationTypes, getOwners, getPersisters, getSQLString, getSuffixes, getWithClause, hasRestriction, initPersisters, initPersisters, initPersisters, isDuplicateAssociation, isJoinable, isJoinedFetchEnabled, isJoinedFetchEnabledInMapping, isTooDeep, isTooManyCollections, mergeOrderings, mergeOuterJoins, orderBy, orderBy, selectString, setAliases, setCollectionOwners, setCollectionPersisters, setCollectionSuffixes, setOwnerAssociationTypes, setOwners, setPersisters, setSql, setSuffixes, walkCollectionTree, walkEntityTree, whereString
-
-
-
-
Constructor Detail
-
OneToManyJoinWalker
public OneToManyJoinWalker(QueryableCollection oneToManyPersister, int batchSize, String subquery, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException
- Throws:
MappingException
-
-
Method Detail
-
isDuplicateAssociation
protected boolean isDuplicateAssociation(String foreignKeyTable, String[] foreignKeyColumns)
Description copied from class:JoinWalker
Used to detect circularities in the joined graph, note that this method is side-effecty- Overrides:
isDuplicateAssociation
in classJoinWalker
-
-