Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.loader.collection
Class OneToManyJoinWalker  view OneToManyJoinWalker download OneToManyJoinWalker.java

java.lang.Object
  extended byorg.hibernate.loader.JoinWalker
      extended byorg.hibernate.loader.collection.CollectionJoinWalker
          extended byorg.hibernate.loader.collection.OneToManyJoinWalker

public class OneToManyJoinWalker
extends CollectionJoinWalker

Walker for one-to-many associations


Nested Class Summary
 
Nested classes inherited from class org.hibernate.loader.JoinWalker
 
Field Summary
private  org.hibernate.persister.collection.QueryableCollection oneToManyPersister
           
 
Fields inherited from class org.hibernate.loader.JoinWalker
aliases, associations, collectionOwners, collectionPersisters, collectionSuffixes, lockModeArray, ownerAssociationTypes, owners, persisters, sql, suffixes
 
Constructor Summary
OneToManyJoinWalker(org.hibernate.persister.collection.QueryableCollection oneToManyPersister, int batchSize, java.lang.String subquery, org.hibernate.engine.SessionFactoryImplementor factory, java.util.Map enabledFilters)
           
 
Method Summary
private  void initStatementString(org.hibernate.persister.entity.OuterJoinLoadable elementPersister, java.lang.String alias, int batchSize, java.lang.String subquery)
           
protected  boolean isDuplicateAssociation(java.lang.String foreignKeyTable, java.lang.String[] foreignKeyColumns)
          Used to detect circularities in the joined graph, note that this method is side-effecty
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class org.hibernate.loader.collection.CollectionJoinWalker
whereString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

oneToManyPersister

private final org.hibernate.persister.collection.QueryableCollection oneToManyPersister
Constructor Detail

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
Method Detail

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()).