EclipseLink 2.3.2, build 'v20111125-r10461' API Reference

org.eclipse.persistence.annotations
Annotation Type Partitioned


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

Partitioning is used to partition the data for a class across multiple difference databases or across a database cluster such as Oracle RAC. Partitioning can provide improved scalability by allowing multiple database machines to service requests. This annotation configures the named partitioning policy to be used for this Entity or relationship.

Partitioning can be enabled on an Entity, relationship, query, or session/persistence unit.

See Also:
Partitioning, RoundRobinPartitioning, ReplicationPartitioning, RangePartitioning, ValuePartitioning, HashPartitioning, PinnedPartitioning, UnionPartitioning, PartitioningPolicy
Author:
James Sutherland
Since:
EclipseLink 2.2

Required Element Summary
 java.lang.String value
          (Required) name of partitioning policy to use.
 

Element Detail

value

public abstract java.lang.String value
(Required) name of partitioning policy to use.


EclipseLink 2.3.2, build 'v20111125-r10461' API Reference