EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.annotations
Annotation Type OrderCorrection


@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.

Required Element Summary
 OrderCorrectionType value
           
 

Element Detail

value

public abstract OrderCorrectionType value

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference