ORDER BY item must be one of the following: SELECT clause by one of the following: SELECT clause for which the same {@link ResultVariableStateObject result_variable}has been specified. This may be the result of an aggregate_expression, a scalar_expression, or a {@link StateFieldPathExpressionStateObject state_field_path_expression} in theSELECT clause. The keyword ASC specifies that ascending ordering be used for the associated ORDER BY item; the keyword DESC specifies that descending ordering be used. Ascending ordering is the default.
JPA 1.0:
orderby_item ::= state_field_path_expression [ ASC | DESC ] JPA 2.0
orderby_item ::= state_field_path_expression | result_variable [ ASC | DESC ]@see OrderByItem @version 2.4 @since 2.4 @author Pascal Filion
| |
| |
| |
| |
| |
| |