Annotation Type StoredProcedureParameter
A StoredProcedureParameter annotation is used within a
NamedStoredProcedureQuery annotation.
- See Also:
- Author:
- Guy Pelletier
-
Required Element Summary
Modifier and TypeRequired ElementDescription(Required) The query parameter name. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionDeprecated.int
(Optional) The JDBC type code, this is dependent on the type returned from the procedure.(Optional) The JDBC type name, this may be required for ARRAY or STRUCT types.jakarta.persistence.ParameterMode
(Optional) The direction of the stored procedure parameter.(Optional) Stored procedure parameter name.boolean
(Optional) Define if the parameter is required, or optional and defaulted by the procedure.(Optional) The type of Java class desired back from the procedure, this is dependent on the type returned from the procedure.
-
Element Details
-
queryParameter
String queryParameter(Required) The query parameter name.
-
-
-
direction
Direction directionDeprecated.(Optional) The direction of the stored procedure parameter.- See Also:
- Default:
- IN
-
mode
jakarta.persistence.ParameterMode mode(Optional) The direction of the stored procedure parameter.- Default:
- IN
-
name
String name(Optional) Stored procedure parameter name.- Default:
- ""
-
optional
boolean optional(Optional) Define if the parameter is required, or optional and defaulted by the procedure.- Default:
- false
-
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
-
jdbcType
int jdbcType(Optional) The JDBC type code, this is dependent on the type returned from the procedure.- Default:
- -1
-
jdbcTypeName
String jdbcTypeName(Optional) The JDBC type name, this may be required for ARRAY or STRUCT types.- Default:
- ""
-