Object getOutputParameterValue(
int position
)
Retrieve a value passed back from the procedure through an INOUT or OUT parameter. For portability, all results corresponding to result sets and update counts must be retrieved before the values of output parameters.
- Parameters:
position
- parameter position
- Return:
- the result that is passed back through the parameter
- Throws:
- IllegalArgumentException - if the position does not correspond to a parameter of the query or is not an INOUT or OUT parameter
- Since:
- JPA 2.1