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

public @Interface PLSQLTable

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

A PLSQLTable annotation is used to define a database PLSQL TABLE type. This type can be used within PLSQL procedure calls.
Author
James Sutherland
Since
EclipseLink 2.3
See Also
NamedPLSQLStoredProcedureQuery

Method Summary

Modifier and TypeMethod and Description
public String
compatibleType()

(Required) The name of the database VARRAY type that mirrors the table's structure.

public boolean
isNestedTable()

(Optional) Indicates a non-associative (nested) table.

public Class<?>
javaType()

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

public String
name()

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

public String
nestedType()

(Required) The name of the database OBJECT TYPE or VARRAY type that mirrors the record's structure.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

compatibleTypeback to summary
public String compatibleType()

(Required) The name of the database VARRAY type that mirrors the table's structure. The table will be converted to/from this type so it can be passed through JDBC.

isNestedTableback to summary
public boolean isNestedTable()

(Optional) Indicates a non-associative (nested) table. This method would typically be used when generating a constructor for the collection in PL/SQL (as the constructors for associative arrays (Varray) and a non-associative (nested) tables differ).

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 record type in the database.

nestedTypeback to summary
public String nestedType()

(Required) The name of the database OBJECT TYPE or VARRAY type that mirrors the record's structure. The record will be converted to/from this type so it can be passed through JDBC.