Annotation Type OracleArray


  • @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.
    See Also:
    NamedPLSQLStoredProcedureQuery
    Author:
    David McCann
    Since:
    EclipseLink 2.5
    • Required Element Summary

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

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class javaType
      (Optional) The Java Collection class to map the VARRAY to.
      java.lang.String nestedType
      (Required) The name of the database type this VARRAY holds onto.
    • Element Detail

      • name

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

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

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