Interface Order

  • All Superinterfaces:
    QueryElement
    All Known Implementing Classes:
    AscOrder, DescOrder

    public interface Order
    extends QueryElement
    An ordering query element. This query element appears in the ORDER BY part of a Query and is used to sort the result. Typically an order by clause consists of an expression and a keyword telling if the results should be sorted in ascending or descending order.
    SELECT usr
    FROM UserData usr
    ORDER BY usr.name ASC
    

    Order elements can be created by the Orders factory class.

    Version:
    2.0
    Author:
    Nicklas
    Last modified
    $Date: 2009-04-06 14:52:39 +0200 (må, 06 apr 2009) $