Package org.springframework.jdbc.core
Class SqlReturnResultSet
java.lang.Object
org.springframework.jdbc.core.SqlParameter
org.springframework.jdbc.core.ResultSetSupportingSqlParameter
org.springframework.jdbc.core.SqlReturnResultSet
Represents a returned
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.
- Author:
- Thomas Risberg, Juergen Hoeller
-
Constructor Summary
ConstructorDescriptionSqlReturnResultSet
(String name, ResultSetExtractor<?> extractor) Create a new instance of theSqlReturnResultSet
class.SqlReturnResultSet
(String name, RowCallbackHandler handler) Create a new instance of theSqlReturnResultSet
class.SqlReturnResultSet
(String name, RowMapper<?> mapper) Create a new instance of theSqlReturnResultSet
class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
This implementation always returnstrue
.Methods inherited from class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
getResultSetExtractor, getRowCallbackHandler, getRowMapper, isInputValueProvided, isResultSetSupported
Methods inherited from class org.springframework.jdbc.core.SqlParameter
getName, getScale, getSqlType, getTypeName, sqlTypesToAnonymousParameterList
-
Constructor Details
-
SqlReturnResultSet
Create a new instance of theSqlReturnResultSet
class.- Parameters:
name
- the name of the parameter, as used in input and output mapsextractor
- theResultSetExtractor
to use for parsing theResultSet
-
SqlReturnResultSet
Create a new instance of theSqlReturnResultSet
class.- Parameters:
name
- the name of the parameter, as used in input and output mapshandler
- theRowCallbackHandler
to use for parsing theResultSet
-
SqlReturnResultSet
Create a new instance of theSqlReturnResultSet
class.
-
-
Method Details
-
isResultsParameter
public boolean isResultsParameter()This implementation always returnstrue
.- Overrides:
isResultsParameter
in classSqlParameter
-