注释类型 OrderBy
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface OrderBy
Order a collection using SQL ordering (not HQL ordering). Different fromOrderByin that this expects SQL fragment, JPA OrderBy expects a valid JPQL order-by fragment.- 作者:
- Emmanuel Bernard, Steve Ebersole
- 另请参阅:
OrderBy,SortComparator,SortNatural
-
-
元素详细资料
-
clause
String clause
SQL ordering clause.
-
-