Module eclipselink
Annotation Type OracleObject
-
@Target(TYPE) @Retention(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
Required Elements Modifier and Type Required Element Description PLSQLParameter[]fields(Required) Defines the fields in the record type.Stringname(Required) The name of the OBJECT type in the database.
-
-
-
Element Detail
-
name
String name
(Required) The name of the OBJECT type in the database.
-
-
-
fields
PLSQLParameter[] fields
(Required) Defines the fields in the record type.
-
-
-
javaType
Class<?> javaType
(Optional) The Java class to map the OBJECT type to. This class must be mapped using a @Struct annotation.- Default:
- void.class
-
-