Package jakarta.persistence
Annotation Type StoredProcedureParameter
-
@Target({}) @Retention(RUNTIME) public @interface StoredProcedureParameter
Specifies a parameter of a named stored procedure query. All parameters of a named stored procedure query must be specified.- Since:
- 2.1
- See Also:
NamedStoredProcedureQuery
,ParameterMode
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ParameterMode
mode
Specifies whether the parameter is an IN, INOUT, OUT, or REF_CURSOR parameter.String
name
The name of the parameter as defined by the stored procedure in the database.
-
-
-
Element Detail
-
type
Class type
JDBC type of the paramter.
-
-
-
name
String name
The name of the parameter as defined by the stored procedure in the database. If a name is not specified, it is assumed that the stored procedure uses positional parameters.- Default:
- ""
-
-
-
mode
ParameterMode mode
Specifies whether the parameter is an IN, INOUT, OUT, or REF_CURSOR parameter. REF_CURSOR parameters are used by some databases to return result sets from a stored procedure.- Default:
- jakarta.persistence.ParameterMode.IN
-
-