Top Description Methods
org.eclipse.persistence.platform.database.oracle.annotations

public @Interface OracleArray

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target, java.util.ArrayList

An OracleArray annotation is used to define an Oracle database VARRAY type. This type can be used within PLSQL procedure calls.
Author
David McCann
Since
EclipseLink 2.5
See Also
NamedPLSQLStoredProcedureQuery

Method Summary

Modifier and TypeMethod and Description
public Class<?>
javaType()

(Optional) The Java Collection class to map the VARRAY to.

public String
name()

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

public String
nestedType()

(Required) The name of the database type this VARRAY holds onto.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

javaTypeback to summary
public Class<?> javaType()

(Optional) The Java Collection class to map the VARRAY to. This can be any valid Collection implementation.

nameback to summary
public String name()

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

nestedTypeback to summary
public String nestedType()

(Required) The name of the database type this VARRAY holds onto.