public class SqlReturnResultSet extends ResultSetSupportingSqlParameter
ResultSet
from a stored procedure call.
A ResultSetExtractor
, RowCallbackHandler
or RowMapper
must be provided to handle any returned rows.
Returned ResultSets
- like all stored procedure
parameters - must have names.
Constructor and Description |
---|
SqlReturnResultSet(String name,
ResultSetExtractor extractor)
Create a new instance of the
SqlReturnResultSet class. |
SqlReturnResultSet(String name,
RowCallbackHandler handler)
Create a new instance of the
SqlReturnResultSet class. |
SqlReturnResultSet(String name,
RowMapper mapper)
Create a new instance of the
SqlReturnResultSet class. |
Modifier and Type | Method and Description |
---|---|
boolean |
isResultsParameter()
Return whether this parameter is an implicit return parameter used during the
results preocessing of the CallableStatement.getMoreResults/getUpdateCount.
|
getResultSetExtractor, getRowCallbackHandler, getRowMapper, isInputValueProvided, isResultSetSupported
getName, getScale, getSqlType, getTypeName, sqlTypesToAnonymousParameterList
public SqlReturnResultSet(String name, ResultSetExtractor extractor)
SqlReturnResultSet
class.name
- name of the parameter, as used in input and output mapsextractor
- ResultSetExtractor to use for parsing the ResultSet
public SqlReturnResultSet(String name, RowCallbackHandler handler)
SqlReturnResultSet
class.name
- name of the parameter, as used in input and output mapshandler
- RowCallbackHandler to use for parsing the ResultSet
public SqlReturnResultSet(String name, RowMapper mapper)
SqlReturnResultSet
class.name
- name of the parameter, as used in input and output mapsmapper
- RowMapper to use for parsing the ResultSet
public boolean isResultsParameter()
This implementation always returns true
.
isResultsParameter
in class SqlParameter