| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String[] | Returns: The qualified column names.The association type for the association that represents the join type, String The left-hand side table alias alias, int The index of the property that represents the association/join property, OuterJoinLoadable The persister for the left-hand side of the association/join lhsPersister, Mapping The mapping (typically the SessionFactory). mapping)Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the join |
| public static String[] | Returns: The qualified column names.The association type for the association that represents the join associationType, String The left-hand side table alias columnQualifier, int The index of the property that represents the association/join propertyIndex, int The index for any nested (composites) attributes begin, OuterJoinLoadable The persister for the left-hand side of the association/join lhsPersister, Mapping The mapping (typically the SessionFactory). mapping)Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the join |
| public static String[] | Returns: The unqualified column names.The association type for the association that represents the join type, int The name of the property that represents the association/join property, OuterJoinLoadable The persister for the left-hand side of the association/join lhsPersister, Mapping The mapping (typically the SessionFactory). mapping)Get the unqualified names of the columns of the owning entity which are to be used in the join. |
| public static String[] | Returns: The columns for the left-hand-side of the joinThe type representing the join type, int The property index for the association type property, int ? begin, OuterJoinLoadable The persister for the left-hand-side of the join lhsPersister, Mapping The mapping object (typically the SessionFactory) mapping)Get the columns of the owning entity which are to be used in the join |
| public static String | Returns: The table nameThe type representing the join type, int The property index for the type propertyIndex, OuterJoinLoadable The persister for the left-hand-side of the join lhsPersister)Determine the name of the table that is the left-hand-side of the join. |
| public static String[] | Returns: The columns for the right-hand-side of the joinThe type type, SessionFactoryImplementor The SessionFactory factory)
Deprecated
as a consequence of
Get the columns of the associated table which are to be used in the join
SessionFactoryImplementor being deprecated.
|
| private static String[] |
| JoinHelper | back to summary |
|---|---|
| private JoinHelper() | |
| getAliasedLHSColumnNames | back to summary |
|---|---|
| public static String[] getAliasedLHSColumnNames(AssociationType type, String alias, int property, OuterJoinLoadable lhsPersister, Mapping mapping) Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the join
| |
| getAliasedLHSColumnNames | back to summary |
|---|---|
| public static String[] getAliasedLHSColumnNames(AssociationType associationType, String columnQualifier, int propertyIndex, int begin, OuterJoinLoadable lhsPersister, Mapping mapping) Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the join
| |
| getLHSColumnNames | back to summary |
|---|---|
| public static String[] getLHSColumnNames(AssociationType type, int property, OuterJoinLoadable lhsPersister, Mapping mapping) Get the unqualified names of the columns of the owning entity which are to be used in the join.
| |
| getLHSColumnNames | back to summary |
|---|---|
| public static 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 | back to summary |
|---|---|
| public static String getLHSTableName(AssociationType type, int propertyIndex, OuterJoinLoadable lhsPersister) Determine the name of the table that is the left-hand-side of the join. Usually this is the name of the main table from the left-hand-side persister. But that is not the case with property-refs.
| |
| getRHSColumnNames | back to summary |
|---|---|
| public static String[] getRHSColumnNames(AssociationType type, SessionFactoryImplementor factory)
Deprecated as a consequence of Get the columns of the associated table which are to be used in the join
| |
| toColumns | back to summary |
|---|---|
| private static String[] toColumns(OuterJoinLoadable persister, String columnQualifier, int propertyIndex) | |