org.hibernate.engine
Class JoinHelper

java.lang.Object
  extended by org.hibernate.engine.JoinHelper

public final class JoinHelper
extends java.lang.Object

Author:
Gavin King

Method Summary
static java.lang.String[] getAliasedLHSColumnNames(AssociationType type, java.lang.String alias, int property, int begin, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the aliased columns of the owning entity which are to be used in the join
static java.lang.String[] getAliasedLHSColumnNames(AssociationType type, java.lang.String alias, int property, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the aliased columns of the owning entity which are to be used in the join
static java.lang.String[] getLHSColumnNames(AssociationType type, int property, int begin, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the columns of the owning entity which are to be used in the join
static java.lang.String[] getLHSColumnNames(AssociationType type, int property, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the columns of the owning entity which are to be used in the join
static java.lang.String getLHSTableName(AssociationType type, int property, OuterJoinLoadable lhsPersister)
           
static java.lang.String[] getRHSColumnNames(AssociationType type, SessionFactoryImplementor factory)
          Get the columns of the associated table which are to be used in the join
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAliasedLHSColumnNames

public static java.lang.String[] getAliasedLHSColumnNames(AssociationType type,
                                                          java.lang.String alias,
                                                          int property,
                                                          OuterJoinLoadable lhsPersister,
                                                          Mapping mapping)
Get the aliased columns of the owning entity which are to be used in the join


getLHSColumnNames

public static java.lang.String[] getLHSColumnNames(AssociationType type,
                                                   int property,
                                                   OuterJoinLoadable lhsPersister,
                                                   Mapping mapping)
Get the columns of the owning entity which are to be used in the join


getAliasedLHSColumnNames

public static java.lang.String[] getAliasedLHSColumnNames(AssociationType type,
                                                          java.lang.String alias,
                                                          int property,
                                                          int begin,
                                                          OuterJoinLoadable lhsPersister,
                                                          Mapping mapping)
Get the aliased columns of the owning entity which are to be used in the join


getLHSColumnNames

public static java.lang.String[] getLHSColumnNames(AssociationType type,
                                                   int property,
                                                   int begin,
                                                   OuterJoinLoadable lhsPersister,
                                                   Mapping mapping)
Get the columns of the owning entity which are to be used in the join


getLHSTableName

public static java.lang.String getLHSTableName(AssociationType type,
                                               int property,
                                               OuterJoinLoadable lhsPersister)

getRHSColumnNames

public static java.lang.String[] getRHSColumnNames(AssociationType type,
                                                   SessionFactoryImplementor factory)
Get the columns of the associated table which are to be used in the join



Copyright © 2008 Hibernate.org. All Rights Reserved.