Package org.hibernate.annotations
Annotation Type OrderBy
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface OrderByOrder a collection using SQL ordering (not HQL ordering). Different fromOrderByin that this expects SQL fragment, JPA OrderBy expects a valid JPQL order-by fragment.- See Also:
OrderBy,SortComparator,SortNatural
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringclauseSQL ordering clause.
-