EclipseLink 2.3.2, build 'v20111125-r10461' API Reference

Annotation Type OrderCorrection

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.

Required Element Summary
 OrderCorrectionType value

Element Detail


public abstract OrderCorrectionType value

EclipseLink 2.3.2, build 'v20111125-r10461' API Reference