EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.annotations
Annotation Type RangePartition


@Target(value={TYPE,METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface RangePartition

Represent a specific range partition. Values >= startValue and <= endValue will be routed to the connection pool.

See Also:
RangePartitioning, RangePartitioningPolicy, RangePartition
Author:
James Sutherland
Since:
EclipseLink 2.2

Required Element Summary
 java.lang.String connectionPool
          The connection pool to route queries to for this range.
 
Optional Element Summary
 java.lang.String endValue
          The String representation of the range start value.
 java.lang.String startValue
          The String representation of the range start value.
 

Element Detail

connectionPool

public abstract java.lang.String connectionPool
The connection pool to route queries to for this range.

startValue

public abstract java.lang.String startValue
The String representation of the range start value.

Default:
""

endValue

public abstract java.lang.String endValue
The String representation of the range start value.

Default:
""

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference