org.hibernate.annotations
Annotation Type Sort


@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface Sort

Collection sort (Java level sorting)

Author:
Emmanuel Bernard

Optional Element Summary
 java.lang.Class comparator
          Sort comparator implementation
 SortType type
          sort type
 

type

public abstract SortType type
sort type

Default:
UNSORTED

comparator

public abstract java.lang.Class comparator
Sort comparator implementation

Default:
void.class