public class ProcedureResultImpl extends ResultImpl implements ProcedureResult
Modifier and Type | Class and Description |
---|---|
protected static class |
ProcedureResultImpl.ProcedureCurrentReturnDescriptor |
ResultImpl.CurrentReturnDescriptor, ResultImpl.ResultSetReturn, ResultImpl.UpdateCountReturn
Modifier and Type | Method and Description |
---|---|
protected ResultImpl.CurrentReturnDescriptor |
buildCurrentReturnDescriptor(boolean isResultSet,
int updateCount) |
protected Return |
buildExtendedReturn(ResultImpl.CurrentReturnDescriptor returnDescriptor) |
protected JDBCException |
convert(SQLException e,
String message) |
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.
|
protected boolean |
hasMoreReturns(ResultImpl.CurrentReturnDescriptor descriptor) |
getNextReturn, hasMoreReturns
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNextReturn, hasMoreReturns
public <T> T getOutputParameterValue(ParameterRegistration<T> parameterRegistration)
ProcedureResult
Result.getNextReturn()
getOutputParameterValue
in interface ProcedureResult
parameterRegistration
- The parameter's registration memento.ProcedureCall.registerParameter(String, Class, javax.persistence.ParameterMode)
public Object getOutputParameterValue(String name)
ProcedureResult
getOutputParameterValue
in interface ProcedureResult
name
- The name under which the parameter was registered.ProcedureCall.registerParameter(String, Class, javax.persistence.ParameterMode)
public Object getOutputParameterValue(int position)
ProcedureResult
getOutputParameterValue
in interface ProcedureResult
position
- The position at which the parameter was registered.ProcedureCall.registerParameter(int, Class, javax.persistence.ParameterMode)
protected ResultImpl.CurrentReturnDescriptor buildCurrentReturnDescriptor(boolean isResultSet, int updateCount)
buildCurrentReturnDescriptor
in class ResultImpl
protected boolean hasMoreReturns(ResultImpl.CurrentReturnDescriptor descriptor)
hasMoreReturns
in class ResultImpl
protected Return buildExtendedReturn(ResultImpl.CurrentReturnDescriptor returnDescriptor)
buildExtendedReturn
in class ResultImpl
protected JDBCException convert(SQLException e, String message)
convert
in class ResultImpl
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.