public interface ProcedureOutputs extends Outputs
Outputs contract providing access to the stored procedure's registered
output parameters.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getOutputParameterValue(int position)
Retrieve the value of an OUTPUT parameter by the name position under which the parameter was registered.
|
<T> T |
getOutputParameterValue(ParameterRegistration<T> parameterRegistration)
Retrieve the value of an OUTPUT parameter by the parameter's registration memento.
|
java.lang.Object |
getOutputParameterValue(java.lang.String name)
Retrieve the value of an OUTPUT parameter by the name under which the parameter was registered.
|
getCurrent, goToNext, release<T> T getOutputParameterValue(ParameterRegistration<T> parameterRegistration)
#getNextOutputparameterRegistration - The parameter's registration memento.ProcedureCall.registerParameter(String, Class, javax.persistence.ParameterMode)java.lang.Object getOutputParameterValue(java.lang.String name)
name - The name under which the parameter was registered.ParameterStrategyException - If the ProcedureCall is defined using positional parametersNoSuchParameterException - If no parameter with that name existsProcedureCall.registerParameter(String, Class, javax.persistence.ParameterMode)java.lang.Object getOutputParameterValue(int position)
position - The position at which the parameter was registered.ParameterStrategyException - If the ProcedureCall is defined using named parametersNoSuchParameterException - If no parameter with that position existsProcedureCall.registerParameter(int, Class, javax.persistence.ParameterMode)Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.