Top Description Fields Constructors Methods
org.hibernate.loader.collection

public Class OneToManyJoinWalker

extends CollectionJoinWalker
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .List, org.hibernate.LockMode, .MappingException, org.hibernate.engine.SessionFactoryImplementor, .LoadQueryInfluencers, org.hibernate.loader.BasicLoader, .OuterJoinableAssociation, org.hibernate.persister.collection.QueryableCollection, org.hibernate.persister.entity.OuterJoinLoadable, org.hibernate.sql.JoinFragment, .Select, org.hibernate.util.CollectionHelper, .StringHelper

Walker for one-to-many associations
Author
Gavin King
See Also
OneToManyLoader

Field Summary

Modifier and TypeField and Description
private final QueryableCollection

Constructor Summary

AccessConstructor and Description
public
OneToManyJoinWalker(QueryableCollection oneToManyPersister, int batchSize, String subquery, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)

Method Summary

Modifier and TypeMethod and Description
private void
initStatementString(final OuterJoinLoadable elementPersister, final String alias, final int batchSize, final String subquery)

protected boolean
isDuplicateAssociation(final String foreignKeyTable, final String[] foreignKeyColumns)

Overrides org.hibernate.loader.JoinWalker.isDuplicateAssociation.

Used to detect circularities in the joined graph, note that this method is side-effecty
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.hibernate.loader.collection.CollectionJoinWalker:
whereString

Field Detail

oneToManyPersisterback to summary
private final QueryableCollection oneToManyPersister

Constructor Detail

OneToManyJoinWalkerback to summary
public OneToManyJoinWalker(QueryableCollection oneToManyPersister, int batchSize, String subquery, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers) throws MappingException

Method Detail

initStatementStringback to summary
private void initStatementString(final OuterJoinLoadable elementPersister, final String alias, final int batchSize, final String subquery) throws MappingException
isDuplicateAssociationback to summary
protected boolean isDuplicateAssociation(final String foreignKeyTable, final String[] foreignKeyColumns)

Overrides org.hibernate.loader.JoinWalker.isDuplicateAssociation.

Doc from org.hibernate.loader.JoinWalker.isDuplicateAssociation.

Used to detect circularities in the joined graph, note that this method is side-effecty

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.