@Target(TYPE) @Retention(RUNTIME) public @interface OracleArray
An OracleArray annotation is used to define an Oracle database VARRAY type. This type can be used within PLSQL procedure calls.
Since:
EclipseLink 2.5
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    (Required) The name of the VARRAY type in the database.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    (Optional) The Java Collection class to map the VARRAY to.
    (Required) The name of the database type this VARRAY holds onto.
  • Element Details

    • name

      String name
      (Required) The name of the VARRAY type in the database.
    • nestedType

      String nestedType
      (Required) The name of the database type this VARRAY holds onto.
      Default:
      "VARCHAR_TYPE"
    • javaType

      Class<?> javaType
      (Optional) The Java Collection class to map the VARRAY to. This can be any valid Collection implementation.
      Default:
      java.util.ArrayList.class