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
| Nested classes inherited from class org.hibernate.loader.JoinWalker |
|
| Fields inherited from class org.hibernate.loader.JoinWalker |
aliases, associations, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, ownerAssociationTypes, owners, persisters, sql, suffixes |
| 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, isJoinable, isJoinedFetchEnabled, isJoinedFetchEnabledInMapping, isTooDeep, isTooManyCollections, mergeOrderings, mergeOuterJoins, orderBy, orderBy, selectString, setAliases, setCollectionOwners, setCollectionPersisters, setCollectionSuffixes, setLockModeArray, setOwnerAssociationTypes, setOwners, setPersisters, setSql, setSuffixes, walkCollectionTree, walkEntityTree, whereString |
oneToManyPersister
private final org.hibernate.persister.collection.QueryableCollection oneToManyPersister
OneToManyJoinWalker
public OneToManyJoinWalker(org.hibernate.persister.collection.QueryableCollection oneToManyPersister,
int batchSize,
java.lang.String subquery,
org.hibernate.engine.SessionFactoryImplementor factory,
java.util.Map enabledFilters)
throws org.hibernate.MappingException
isDuplicateAssociation
protected boolean isDuplicateAssociation(java.lang.String foreignKeyTable,
java.lang.String[] foreignKeyColumns)
- Description copied from class:
org.hibernate.loader.JoinWalker
- Used to detect circularities in the joined graph, note that
this method is side-effecty
initStatementString
private void initStatementString(org.hibernate.persister.entity.OuterJoinLoadable elementPersister,
java.lang.String alias,
int batchSize,
java.lang.String subquery)
throws org.hibernate.MappingException
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).