Deprecated
as a consequence of FromElement being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| public | EntityJoinFromElement(HqlSqlWalker walker, FromClause fromClause, EntityPersister entityPersister, JoinType joinType, boolean fetchProperties, String alias)
|
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | initializeCollection(FromClause fromClause, String classAlias, String tableAlias)
Overrides org. |
| protected void | |
| public void | |
| public void | setText(String
The renderable text s)Overrides org. Implements org. |
| EntityJoinFromElement | back to summary |
|---|---|
| public EntityJoinFromElement(HqlSqlWalker walker, FromClause fromClause, EntityPersister entityPersister, JoinType joinType, boolean fetchProperties, String alias) | |
| getCollectionSuffix | back to summary |
|---|---|
| public String getCollectionSuffix() Overrides org.
| |
| initializeCollection | back to summary |
|---|---|
| public void initializeCollection(FromClause fromClause, String classAlias, String tableAlias) Overrides org.
| |
| initializeComponentJoin | back to summary |
|---|---|
| protected void initializeComponentJoin(FromElementType elementType) Overrides org.
| |
| setCollectionSuffix | back to summary |
|---|---|
| public void setCollectionSuffix(String suffix) Overrides org.
| |
| setText | back to summary |
|---|---|
| public void setText(String s) Overrides org. Implements org. Doc from org. Set the renderable text of this node. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addCondition(String
The alias of the joined table alias, String[] The names of the columns which reference the joined table fkColumns, String[] The columns in the joined table being referenced pkColumns)Implements abstract org. |
| public boolean | addCondition(String
The fragment condition)Implements abstract org. |
| public void | addCrossJoin(String
The name of the table to be joined tableName, String The alias to apply to the joined table alias)Implements abstract org. |
| public void | addJoin(String
The name of the table to be joined tableName, String The alias to apply to the joined table alias, String[] The names of the columns which reference the joined table fkColumns, String[] The columns in the joined table being referenced pkColumns, JoinType The type of join joinType)Implements abstract org. |
| public void | addJoin(String
The name of the table to be joined tableName, String The alias to apply to the joined table alias, String[] The names of the columns which reference the joined table fkColumns, String[] The columns in the joined table being referenced pkColumns, JoinType The type of join joinType, String The additional ON fragment on)Implements abstract org. |
| public void | addJoins(String
The FROM clause fragment fromFragment, String The WHERE clause fragment whereFragment)Implements abstract org. |
| public JoinFragment | |
| public String | toFromFragmentString()
Implements abstract org. |
| public String | toWhereFragmentString()
Implements abstract org. |
| fragmentString | back to summary |
|---|---|
| private final String fragmentString | |
| whereFragment | back to summary |
|---|---|
| private final String whereFragment | |
| EntityJoinJoinFragment | back to summary |
|---|---|
| public EntityJoinJoinFragment(String fragmentString, String whereFragment) | |
| addCondition | back to summary |
|---|---|
| public void addCondition(String alias, String[] fkColumns, String[] pkColumns) Implements abstract org. Doc from org. Adds a condition to the join fragment. | |
| addCondition | back to summary |
|---|---|
| public boolean addCondition(String condition) Implements abstract org. Doc from org. Adds a free-form condition fragment | |
| addCrossJoin | back to summary |
|---|---|
| public void addCrossJoin(String tableName, String alias) Implements abstract org. Doc from org. Adds a cross join to the specified table. | |
| addJoin | back to summary |
|---|---|
| public void addJoin(String tableName, String alias, String[] fkColumns, String[] pkColumns, JoinType joinType) Implements abstract org. Doc from org. Adds a join.
| |
| addJoin | back to summary |
|---|---|
| public void addJoin(String tableName, String alias, String[] fkColumns, String[] pkColumns, JoinType joinType, String on) Implements abstract org. Doc from org. Adds a join, with an additional ON clause fragment
| |
| addJoins | back to summary |
|---|---|
| public void addJoins(String fromFragment, String whereFragment) Implements abstract org. Doc from org. Free-form form of adding theta-style joins taking the necessary FROM and WHERE clause fragments | |
| copy | back to summary |
|---|---|
| public JoinFragment copy() Implements abstract org. Doc from org. Make a copy.
| |
| toFromFragmentString | back to summary |
|---|---|
| public String toFromFragmentString() Implements abstract org. Doc from org. Render this fragment to its FROM clause portion | |
| toWhereFragmentString | back to summary |
|---|---|
| public String toWhereFragmentString() Implements abstract org. Doc from org. Render this fragment to its WHERE clause portion | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final EntityType | |
| private final SessionFactoryImplementor | factory
Hides org.
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| private final JoinType |
| Access | Constructor and Description |
|---|---|
| public | EntityJoinJoinSequenceImpl(SessionFactoryImplementor factory, EntityType entityType, String entityTableText, String entityTableAlias, JoinType joinType)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public JoinFragment | toJoinFragment(Map<K, V>
The filters associated with the originating session to properly define join conditions enabledFilters, boolean Should all subclass joins be added to the rendered JoinFragment? includeAllSubclassJoins, String The with clause (which represents additional join restrictions) fragment withClauseFragment)Overrides org. |
| entityTableAlias | back to summary |
|---|---|
| private final String entityTableAlias | |
| entityTableText | back to summary |
|---|---|
| private final String entityTableText | |
| entityType | back to summary |
|---|---|
| private final EntityType entityType | |
| factory | back to summary |
|---|---|
| private final SessionFactoryImplementor factory Hides org. Deprecated as a consequence of | |
| joinType | back to summary |
|---|---|
| private final JoinType joinType | |
| EntityJoinJoinSequenceImpl | back to summary |
|---|---|
| public EntityJoinJoinSequenceImpl(SessionFactoryImplementor factory, EntityType entityType, String entityTableText, String entityTableAlias, JoinType joinType)
Deprecated as a consequence of | |
| toJoinFragment | back to summary |
|---|---|
| public JoinFragment toJoinFragment(Map<K, V> enabledFilters, boolean includeAllSubclassJoins, String withClauseFragment) throws MappingException Overrides org. Ugh!
| |