public interface Join extends QueryElement
JOIN
part of a Query
. Typically a join consists of
join table and a join condition (SQL) or an association property (HQL).
Examples:
// SQL SELECT hw.* FROM Hardware hw JOIN HardwareTypes hwt ON hw.hardwaretype_id = hwt.id // HQL SELECT hw FROM HardwareData hw JOIN hw.hardwareType hwt
Joins for HQL can be created by the Hql
factory class.
Hql
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getThetaJoin(Query query,
DbControl dc) |
java.lang.String |
getThetaJoinCondition(Query query,
DbControl dc) |
getChildren, toQl
java.lang.String getThetaJoin(Query query, DbControl dc) throws BaseException
BaseException
java.lang.String getThetaJoinCondition(Query query, DbControl dc) throws BaseException
BaseException