站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.1.0 API 文档英文版

SqlReturnResultSet (Spring Framework API 2.1) - Spring Framework 2.1.0 API 文档英文版


The Spring Framework

org.springframework.jdbc.core
Class SqlReturnResultSet

java.lang.Object
  extended by org.springframework.jdbc.core.SqlParameter
      extended by org.springframework.jdbc.core.ResultSetSupportingSqlParameter
          extended by org.springframework.jdbc.core.SqlReturnResultSet

public class SqlReturnResultSet
extends ResultSetSupportingSqlParameter

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
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.
 
Method Summary
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlReturnResultSet

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

SqlReturnResultSet

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

SqlReturnResultSet

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

The Spring Framework

Copyright © 2002-2007 The Spring Framework.