Order
An object that defines an ordering over the query results.
- Since:
- JPA 2.0
The ORDER BY clause (JPQL / Criteria API) article explains how to use
Order.Public Methods
- Return:
- expression used for ordering
- Since:
- JPA 2.0
- Return:
- the {@linkplain Nulls precedence of null values}
- Since:
- JPA 3.2
boolean isAscending()
- Return:
- boolean indicating whether ordering is ascending
- Since:
- JPA 2.0