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
ConstructorsConstructorDescriptionSqlReturnResultSet(String name, ResultSetExtractor<?> extractor) Create a new instance of theSqlReturnResultSetclass.SqlReturnResultSet(String name, RowCallbackHandler handler) Create a new instance of theSqlReturnResultSetclass.SqlReturnResultSet(String name, RowMapper<?> mapper) Create a new instance of theSqlReturnResultSetclass. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis implementation always returnstrue.Methods inherited from class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
getResultSetExtractor, getRowCallbackHandler, getRowMapper, isInputValueProvided, isResultSetSupportedMethods inherited from class org.springframework.jdbc.core.SqlParameter
getName, getScale, getSqlType, getTypeName, sqlTypesToAnonymousParameterList
-
Constructor Details
-
SqlReturnResultSet
Create a new instance of theSqlReturnResultSetclass.- Parameters:
name- the name of the parameter, as used in input and output mapsextractor- theResultSetExtractorto use for parsing theResultSet
-
SqlReturnResultSet
Create a new instance of theSqlReturnResultSetclass.- Parameters:
name- the name of the parameter, as used in input and output mapshandler- theRowCallbackHandlerto use for parsing theResultSet
-
SqlReturnResultSet
Create a new instance of theSqlReturnResultSetclass.
-
-
Method Details
-
isResultsParameter
public boolean isResultsParameter()This implementation always returnstrue.- Overrides:
isResultsParameterin classSqlParameter
-