Jakarta Persistence (JPA) Annotation Type

jakarta.persistence.StoredProcedureParameter

Implemented Interfaces:
Annotation

Declares a parameter of a named stored procedure query. All parameters of a named stored procedure query must be declared.
See Also:
Since:
Jakarta Persistence (JPA) 2.1

Annotation Elements

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:
""
Since:
Jakarta Persistence (JPA) 1.0
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:
ParameterMode.IN
Since:
Jakarta Persistence (JPA) 1.0
Class<?> type
JDBC type of the parameter.
Since:
Jakarta Persistence (JPA) 1.0

Additional JDK methods inherited from java.lang.annotation.Annotation

annotationType(), equals(Object), hashCode(), toString()