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

Public Instance Methods

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

Annotation Elements

This is a marker annotation with no members/elements.

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

java.lang.annotation.Annotation/annotationType(), java.lang.annotation.Annotation/equals(Object), java.lang.annotation.Annotation/hashCode(), java.lang.annotation.Annotation/toString()