public class

SqlReturnResultSet

extends ResultSetSupportingSqlParameter
java.lang.Object
   ↳ org.springframework.jdbc.core.SqlParameter
     ↳ org.springframework.jdbc.core.ResultSetSupportingSqlParameter
       ↳ org.springframework.jdbc.core.SqlReturnResultSet

Class Overview

Represents a returned java.sql.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.

Summary

Public Constructors
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.
Public Methods
boolean isResultsParameter()
Return whether this parameter is an implicit return parameter used during the results preocessing of the CallableStatement.getMoreResults/getUpdateCount.
[Expand]
Inherited Methods
From class org.springframework.jdbc.core.ResultSetSupportingSqlParameter
From class org.springframework.jdbc.core.SqlParameter
From class java.lang.Object

Public Constructors

public SqlReturnResultSet (String name, ResultSetExtractor extractor)

Create a new instance of the SqlReturnResultSet class.

Parameters
name name of the parameter, as used in input and output maps
extractor ResultSetExtractor to use for parsing the ResultSet

public SqlReturnResultSet (String name, RowCallbackHandler handler)

Create a new instance of the SqlReturnResultSet class.

Parameters
name name of the parameter, as used in input and output maps
handler RowCallbackHandler to use for parsing the ResultSet

public SqlReturnResultSet (String name, RowMapper mapper)

Create a new instance of the SqlReturnResultSet class.

Parameters
name name of the parameter, as used in input and output maps
mapper RowMapper to use for parsing the ResultSet

Public Methods

public boolean isResultsParameter ()

Return whether this parameter is an implicit return parameter used during the results preocessing of the CallableStatement.getMoreResults/getUpdateCount.

This implementation always returns true.