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


@RangePartition

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

connectionPool

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


startValue

The String representation of the range start value.


endValue

The String representation of the range end value.




Examples

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


See Also

For more information, see: