Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## 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
`Class` | `comparator` Sort comparator implementation
`SortType` | `type` sort type

### type

    public abstract SortType type

  sort type

  Default:
    UNSORTED

### comparator

    public abstract Class comparator

  Sort comparator implementation

  Default:
    void.class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT