JPA Method
in javax.persistence.StoredProcedureQuery

Object getOutputParameterValue(
  String parameterName
)


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:
parameterName - name of the parameter as registered or specified in metadata
Return:
the result that is passed back through the parameter
Throws:
IllegalArgumentException - if the parameter name does not correspond to a parameter of the query or is not an INOUT or OUT parameter
Since:
JPA 2.1