Module eclipselink

Annotation Interface OracleArray


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

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

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

    • name

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

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

      Class<?> javaType
      The Java Collection class to map the VARRAY to.

      This can be any valid Collection implementation.

      Default:
      java.util.ArrayList.class