@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface OrderBy
Order a collection using SQL ordering (not HQL ordering).
Different from OrderBy in that this expects SQL fragment, JPA OrderBy expects a
valid JPQL order-by fragment.
OrderBy,
SortComparator,
SortNaturalpublic abstract String clause
SQL ordering clause.
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.