@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface OrderCorrection
OrderCorrection annotation may be specified together with OrderColumn annotation.
Its OrderCorrectionType value defines what should be done in case
the order list read from the data base is invalid
(has nulls, duplicates, negative values, values greater/equal to list size -
the only valid order list of n elements is: {0, 1,..., n-1}).
If the annotation is not specified than OrderCorrectionValue.READ_WRITE used.
- See Also:
org.eclipse.persistence.annotations.OrderColumn
,
org.eclipse.persistence.annotations.OrderCorrectionType.