Module eclipselink
Annotation Type StoredProcedureParameter
-
@Target({}) @Retention(RUNTIME) public @interface StoredProcedureParameter
A StoredProcedureParameter annotation is used within a NamedStoredProcedureQuery annotation.- See Also:
NamedStoredProcedureQuery- Author:
- Guy Pelletier
- Since:
- Oracle TopLink 11.1.1.0.0
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description StringqueryParameter(Required) The query parameter name.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description DirectiondirectionDeprecated.intjdbcType(Optional) The JDBC type code, this is dependent on the type returned from the procedure.StringjdbcTypeName(Optional) The JDBC type name, this may be required for ARRAY or STRUCT types.jakarta.persistence.ParameterModemode(Optional) The direction of the stored procedure parameter.Stringname(Optional) Stored procedure parameter name.booleanoptional(Optional) Define if the parameter is required, or optional and defaulted by the procedure.Class<?>type(Optional) The type of Java class desired back from the procedure, this is dependent on the type returned from the procedure.
-
-
-
Element Detail
-
queryParameter
String queryParameter
(Required) The query parameter name.
-
-
-
direction
@Deprecated Direction direction
Deprecated.(Optional) The direction of the stored procedure parameter.- See Also:
mode()
- Default:
- org.eclipse.persistence.annotations.Direction.IN
-
-
-
name
String name
(Optional) Stored procedure parameter name.- Default:
- ""
-
-
-
type
Class<?> type
(Optional) The type of Java class desired back from the procedure, this is dependent on the type returned from the procedure.- Default:
- void.class
-
-
-
jdbcTypeName
String jdbcTypeName
(Optional) The JDBC type name, this may be required for ARRAY or STRUCT types.- Default:
- ""
-
-