Module eclipselink
Annotation Interface PLSQLRecord
A PLSQLRecord annotation is used to define a database PLSQL RECORD type.
This type can be used within PLSQL procedure calls.
- See Also:
- Author:
- James Sutherland
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe name of the database OBJECT TYPE that mirrors the record's structure.Defines the fields in the record type.The name of the record type in the database. -
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameThe name of the record type in the database. -
compatibleType
String compatibleTypeThe name of the database OBJECT TYPE that mirrors the record's structure.The record will be converted to/from this type so it can be passed through JDBC.
-
javaType
Class<?> javaTypeThe Java class to map the object-type to.This class must be mapped using a Struct annotation.
- Default:
void.class
-
fields
PLSQLParameter[] fieldsDefines the fields in the record type.
-