public interface ProcedureOutputs extends Outputs
Outputs
contract providing access to the stored procedure's registered
output parameters.Modifier and Type | Method and Description |
---|---|
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.
|
Object |
getOutputParameterValue(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)
#getNextOutput
parameterRegistration
- The parameter's registration memento.ProcedureCall.registerParameter(String, Class, javax.persistence.ParameterMode)
Object getOutputParameterValue(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)
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 © 2021 JBoss by Red Hat. All rights reserved.