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, hasMoreReturnsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNextReturn, hasMoreReturnspublic <T> T getOutputParameterValue(ParameterRegistration<T> parameterRegistration)
ProcedureResultResult.getNextReturn()getOutputParameterValue in interface ProcedureResultparameterRegistration - The parameter's registration memento.ProcedureCall.registerParameter(String, Class, javax.persistence.ParameterMode)public Object getOutputParameterValue(String name)
ProcedureResultgetOutputParameterValue in interface ProcedureResultname - The name under which the parameter was registered.ProcedureCall.registerParameter(String, Class, javax.persistence.ParameterMode)public Object getOutputParameterValue(int position)
ProcedureResultgetOutputParameterValue in interface ProcedureResultposition - 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 ResultImplprotected boolean hasMoreReturns(ResultImpl.CurrentReturnDescriptor descriptor)
hasMoreReturns in class ResultImplprotected Return buildExtendedReturn(ResultImpl.CurrentReturnDescriptor returnDescriptor)
buildExtendedReturn in class ResultImplprotected JDBCException convert(SQLException e, String message)
convert in class ResultImplCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.