@Target({FIELD,METHOD})
@Retention(RUNTIME)
public @interface Order
Modifier and Type | Optional Element | Description |
---|---|---|
java.lang.String |
column |
The name of the column to use for ordering the elements of the member.
|
Column[] |
columns |
The definition of the column(s) to use for ordering.
|
java.lang.String |
mappedBy |
Name of a field or property in the target class that acts as the
ordering field or property for this member.
|
java.lang.String column
java.lang.String mappedBy
Column[] columns