Module jakarta.persistence
Package jakarta.persistence
Annotation Interface StoredProcedureParameter
Declares a parameter of a named stored procedure query. All
parameters of a named stored procedure query must be declared.
- Since:
- 2.1
- See Also:
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionSpecifies whether the parameter is an IN, INOUT, OUT, or REF_CURSOR parameter.The name of the parameter as defined by the stored procedure in the database.
-
Element Details
-
name
String nameThe 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 modeSpecifies 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:
IN
-
type
Class<?> typeJDBC type of the parameter.
-