Annotation Type ValuePartition


  • @Target({TYPE,METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface ValuePartition
    Represent a specific value partition. The value will be routed to the connection pool.
    See Also:
    ValuePartitioning, ValuePartitioningPolicy
    Author:
    James Sutherland
    Since:
    EclipseLink 2.2
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String connectionPool
      The connection pool to route queries to for this value.
      java.lang.String value
      The String representation of the value.
    • Element Detail

      • value

        java.lang.String value
        The String representation of the value.
      • connectionPool

        java.lang.String connectionPool
        The connection pool to route queries to for this value.