Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.5
  Go To Table Of Contents


Use @RangePartition to create a specific range partition for a connection pool. Values within the range will be routed to the specified connection pool.

Annotation Elements

Table 2-57 describes this annotation's elements.

Table 2-57 @RangePartition Annotation Elements

Annotation Element Description Default


The connection pool to which to route queries for the specified range.


The String representation of the range start value.


The String representation of the range end value.


See "Using @RangePartitioning" for an example of partitioning with EclipseLink.

See Also

For more information, see: