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

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


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface OracleObject

An OracleObject annotation is used to define an Oracle database OBJECT type. This type can be used within PLSQL procedure calls.

See Also:
NamedPLSQLStoredProcedureQuery
Author:
David McCann
Since:
EclipseLink 2.5

Required Element Summary
 PLSQLParameter[] fields
          (Required) Defines the fields in the record type.
 java.lang.String name
          (Required) The name of the OBJECT type in the database.
 
Optional Element Summary
 java.lang.Class javaType
          (Optional) The Java class to map the OBJECT type to.
 

Element Detail

name

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


fields

public abstract PLSQLParameter[] fields
(Required) Defines the fields in the record type.

javaType

public abstract java.lang.Class javaType
(Optional) The Java class to map the OBJECT type to. This class must be mapped using a @Struct annotation.

Default:
void.class

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