JPA Annotation

StoredProcedureParameter

Implemented Interfaces:
Annotation

Specifies a parameter of a named stored procedure query. All parameters of a named stored procedure query must be specified.
See Also:
NamedStoredProcedureQuery
ParameterMode
Since:
JPA 2.1

Public Annotation Attributes

ParameterMode mode default ParameterMode.IN
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.
Since:
JPA 2.1
String name default ""
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.
Since:
JPA 2.1
Class type default null
JDBC type of the paramter.
Since:
JPA 2.1