Sort (Hibernate JavaDocs)
Date: 2012-04-05

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)

Optional Element Summary
`Class` | `comparator` Sort comparator implementation
`SortType` | `type` sort type

### type

    public abstract SortType type

  sort type

  Default:
    org.hibernate.annotations.SortType.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

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.