Package net.sf.basedb.core.query
Interface Join
- All Superinterfaces:
QueryElement
- All Known Implementing Classes:
AnnotationJoin
,DynamicJoin
,ExtraValueJoin
,HqlInnerJoin
,HqlLeftJoin
,HqlRightJoin
,RealJoin
,ReporterListJoin
A join query element. This is a query element that can appear in the
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.
- Version:
- 2.0
- Author:
- Nicklas
- See Also:
- Last modified
- $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $
-
Method Summary
Modifier and TypeMethodDescriptiongetThetaJoin
(Query query, DbControl dc) getThetaJoinCondition
(Query query, DbControl dc) Methods inherited from interface net.sf.basedb.core.query.QueryElement
getChildren, toQl
-
Method Details
-
getThetaJoin
- Throws:
BaseException
-
getThetaJoinCondition
- Throws:
BaseException
-