Annotation Type RangePartition


@Target({TYPE,METHOD,FIELD}) @Retention(RUNTIME) public @interface RangePartition
Represent a specific range partition. Values >= startValue and <= endValue will be routed to the connection pool.
Since:
EclipseLink 2.2
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The connection pool to route queries to for this range.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The String representation of the range start value.
    The String representation of the range start value.
  • Element Details

    • startValue

      String startValue
      The String representation of the range start value.
      Default:
      ""
    • endValue

      String endValue
      The String representation of the range start value.
      Default:
      ""
    • connectionPool

      String connectionPool
      The connection pool to route queries to for this range.