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

public @Interface PLSQLRecord

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

A PLSQLRecord annotation is used to define a database PLSQL RECORD type. This type can be used within PLSQL procedure calls.
Author
James Sutherland
Since
EclipseLink 2.3
See Also
NamedPLSQLStoredProcedureQuery

Method Summary

Modifier and TypeMethod and Description
public String
compatibleType()

(Required) The name of the database OBJECT TYPE that mirrors the record's structure.

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 record type in the database.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

compatibleTypeback to summary
public String compatibleType()

(Required) The 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.

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 record type in the database.