Top Description Methods
org.eclipse.persistence.annotations

public @Interface OrderCorrection

extends Annotation
Annotations
@Target:METHOD, FIELD
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.FIELD, .ElementType.METHOD, .RetentionPolicy.RUNTIME

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.jpa.config.OrderColumn, org.eclipse.persistence.annotations.OrderCorrectionType

Method Summary

Modifier and TypeMethod and Description
public OrderCorrectionType
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public OrderCorrectionType value()