Top Description Methods
org.hibernate.annotations

public @Interface SortNatural

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

Specifies in-memory Set/Map sorting using natural sorting. NOTE : Sorting is different than ordering (see OrderBy) which is applied during the SQL SELECT. For sorting based on a comparator, use SortComparator instead. It is illegal to combine SortComparator and SortNatural.
Author
Steve Ebersole
See Also
OrderBy, SortComparator

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString