Module eclipselink
Annotation Interface PLSQLParameter
A PLSQLParameter annotation is used within a NamedPLSQLStoredProcedureQuery,
NamedPLSQLStoredFunctionQuery, OracleObject
or PLSQLRecord annotation.
- See Also:
- Author:
- James Sutherland
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe database data-type for the parameter.The direction of the stored procedure parameter.intThe max length of the field value.booleanDefine if the parameter is required, or optional and defaulted by the procedure.intIf a numeric, the max precision value.The query parameter name.intIf a numeric, the max scale value.
-
Element Details
-
direction
Direction directionThe direction of the stored procedure parameter.- Default:
IN
-
name
String nameStored procedure parameter name. -
queryParameter
String queryParameterThe query parameter name.- Default:
""
-
optional
boolean optionalDefine if the parameter is required, or optional and defaulted by the procedure.- Default:
false
-
databaseType
String databaseTypeThe database data-type for the parameter.This is either one of the type constants defined in OraclePLSQLTypes, or JDBCTypes, or a custom record or table type name.
- See Also:
- Default:
"VARCHAR_TYPE"
-
length
int lengthThe max length of the field value.- Default:
255
-
scale
int scaleIf a numeric, the max scale value.- Default:
0
-
precision
int precisionIf a numeric, the max precision value.- Default:
0
-