Top Description Methods
org.eclipse.persistence.annotations

public @Interface Partitioned

extends Annotation
Annotations
@Target:TYPE, METHOD, FIELD
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target

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.

Author
James Sutherland
Since
EclipseLink 2.2
See Also
Partitioning, RoundRobinPartitioning, ReplicationPartitioning, RangePartitioning, ValuePartitioning, HashPartitioning, PinnedPartitioning, UnionPartitioning, org.eclipse.persistence.descriptors.partitioning.PartitioningPolicy

Method Summary

Modifier and TypeMethod and Description
public String
value()

(Required) name of partitioning policy to use.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

(Required) name of partitioning policy to use.