Annotation Type OrderCorrection


@Target({METHOD,FIELD}) @Retention(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:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description