Module org.eclipse.persistence.core
Annotation Type OracleObject
An OracleObject annotation is used to define an Oracle database OBJECT type.
This type can be used within PLSQL procedure calls.
- Since:
- EclipseLink 2.5
- See Also:
-
Required Element Summary
Modifier and TypeRequired ElementDescription(Required) Defines the fields in the record type.(Required) The name of the OBJECT type in the database. -
Optional Element Summary
-
Element Details
-
name
String name(Required) The name of the OBJECT type in the database. -
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
-
fields
PLSQLParameter[] fields(Required) Defines the fields in the record type.
-