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

public @Interface OracleObject

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

An OracleObject annotation is used to define an Oracle database OBJECT 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 PLSQLParameter[]
fields()

(Required) Defines the fields in the record type.

public Class<?>
javaType()

(Optional) The Java class to map the OBJECT type to.

public String
name()

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

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

fieldsback to summary
public PLSQLParameter[] fields()

(Required) Defines the fields in the record type.

javaTypeback to summary
public Class<?> javaType()

(Optional) The Java class to map the OBJECT type to. This class must be mapped using a @Struct annotation.

nameback to summary
public String name()

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