EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference

org.eclipse.persistence.platform.database.oracle.annotations
Annotation Type OracleArray


@Target(value=TYPE)
@Retention(value=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
 java.lang.String name
          (Required) The name of the VARRAY type in the database.
 
Optional Element Summary
 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

public abstract java.lang.String name
(Required) The name of the VARRAY type in the database.

nestedType

public abstract java.lang.String nestedType
(Required) The name of the database type this VARRAY holds onto.

Default:
"VARCHAR_TYPE"

javaType

public abstract 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

EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference