Package javax.persistence
Annotation Interface StoredProcedureParameter
Specifies a parameter of a named stored procedure query. All
parameters of a named stored procedure query must be specified.
- Since:
- Java Persistence 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
-
type
Class typeJDBC type of the paramter.
-
-
-
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
-