Interface Join

  • All Superinterfaces:
    QueryElement
    All Known Implementing Classes:
    AnnotationJoin, DynamicJoin, ExtraValueJoin, HqlInnerJoin, HqlLeftJoin, HqlRightJoin, RealJoin, ReporterListJoin

    public interface Join
    extends QueryElement
    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:
    Hql
    Last modified
    $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $