Annotation Type PLSQLParameter
-
@Target({}) @Retention(RUNTIME) public @interface PLSQLParameterA PLSQLParameter annotation is used within a NamedPLSQLStoredProcedureQuery or PLSQLRecord annotation.- See Also:
NamedPLSQLStoredProcedureQuery,PLSQLRecord- Author:
- James Sutherland
- Since:
- EclipseLink 2.3
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.Stringname(Required) Stored procedure parameter name.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringdatabaseType(Optional) The database data-type for the paramter.Directiondirection(Optional) The direction of the stored procedure parameter.intlength(Optional) The max length of the field value.booleanoptional(Optional) Define if the parameter is required, or optional and defaulted by the procedure.intprecision(Optional) If a numeric, the max precision value.java.lang.StringqueryParameter(Optional) The query parameter name.intscale(Optional) If a numeric, the max scale value.
-
-
-
-
direction
Direction direction
(Optional) The direction of the stored procedure parameter.- Default:
- org.eclipse.persistence.annotations.Direction.IN
-
-
-
databaseType
java.lang.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
- Default:
- "VARCHAR_TYPE"
-
-