SortComparator or SortNatural instead depending on need.@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) @Deprecated public @interface Sort
OrderBy| Modifier and Type | Optional Element and Description |
|---|---|
Class |
comparator
Deprecated.
Specifies the comparator to use.
|
SortType |
type
Deprecated.
The type of sorting to use.
|
public abstract SortType type
public abstract Class comparator
type() specifies SortType.COMPARATOR.
TODO find a way to use Class<Comparator> -> see HHH-8164Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.