Annotation Type Partitioned


@Target({TYPE,METHOD,FIELD}) @Retention(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.

Since:
EclipseLink 2.2
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    (Required) name of partitioning policy to use.
  • Element Details

    • value

      String value
      (Required) name of partitioning policy to use.