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

public @Interface PLSQLParameter

extends Annotation
Annotations
@Target
@Retention:RUNTIME
Imports
java.lang.annotation.Retention, .Target, org.eclipse.persistence.annotations.Direction, org.eclipse.persistence.platform.database.jdbc.JDBCTypes, org.eclipse.persistence.platform.database.oracle.plsql.OraclePLSQLTypes

A PLSQLParameter annotation is used within a NamedPLSQLStoredProcedureQuery or PLSQLRecord annotation.
Author
James Sutherland
Since
EclipseLink 2.3
See Also
NamedPLSQLStoredProcedureQuery, PLSQLRecord

Method Summary

Modifier and TypeMethod and Description
public String
databaseType()

(Optional) The database data-type for the paramter.

public Direction
direction()

(Optional) The direction of the stored procedure parameter.

public int
length()

(Optional) The max length of the field value.

public String
name()

(Required) Stored procedure parameter name.

public boolean
optional()

(Optional) Define if the parameter is required, or optional and defaulted by the procedure.

public int
precision()

(Optional) If a numeric, the max precision value.

public String
queryParameter()

(Optional) The query parameter name.

public int
scale()

(Optional) If a numeric, the max scale value.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

databaseTypeback to summary
public String databaseType()

(Optional) The database data-type for the paramter. This either one of the type constants defined in OraclePLSQLTypes, or JDBCTypes, or a custom record or table type name.

See Also
PLSQLRecord, OraclePLSQLTypes, JDBCTypes
directionback to summary
public Direction direction()

(Optional) The direction of the stored procedure parameter.

lengthback to summary
public int length()

(Optional) The max length of the field value.

nameback to summary
public String name()

(Required) Stored procedure parameter name.

optionalback to summary
public boolean optional()

(Optional) Define if the parameter is required, or optional and defaulted by the procedure.

precisionback to summary
public int precision()

(Optional) If a numeric, the max precision value.

queryParameterback to summary
public String queryParameter()

(Optional) The query parameter name.

scaleback to summary
public int scale()

(Optional) If a numeric, the max scale value.