|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.jdbc.core.SqlParameter
org.springframework.jdbc.core.ResultSetSupportingSqlParameter
org.springframework.jdbc.core.SqlReturnResultSet
Subclass of SqlOutParameter to represent a returned ResultSet from a stored procedure call.
Must declare a ResultSetExtractor, RowCallbackHandler or RowMapper to handle any returned rows. No additional properties: instanceof will be used to check for such types.
Returned ResultSets - like all stored procedure parameters - must have names.
Constructor Summary | |
SqlReturnResultSet(String name,
ResultSetExtractor rse)
Create a new SqlReturnResultSet. |
|
SqlReturnResultSet(String name,
RowCallbackHandler rch)
Create a new SqlReturnResultSet. |
|
SqlReturnResultSet(String name,
RowMapper rm)
Create a new SqlReturnResultSet. |
|
SqlReturnResultSet(String name,
RowMapper rm,
int rowsExpected)
Create a new SqlReturnResultSet. |
Methods inherited from class org.springframework.jdbc.core.ResultSetSupportingSqlParameter |
getResultSetExtractor, getRowCallbackHandler, isResultSetSupported, isRowCallbackHandlerSupported |
Methods inherited from class org.springframework.jdbc.core.SqlParameter |
getName, getSqlType, getTypeName, sqlTypesToAnonymousParameterList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SqlReturnResultSet(String name, ResultSetExtractor rse)
name
- name of the parameter, as used in input and output mapsrse
- ResultSetExtractor to use for parsing the ResultSetpublic SqlReturnResultSet(String name, RowCallbackHandler rch)
name
- name of the parameter, as used in input and output mapsrch
- RowCallbackHandler to use for parsing the ResultSetpublic SqlReturnResultSet(String name, RowMapper rm)
name
- name of the parameter, as used in input and output mapsrm
- RowMapper to use for parsing the ResultSetpublic SqlReturnResultSet(String name, RowMapper rm, int rowsExpected)
name
- name of the parameter, as used in input and output mapsrm
- RowMapper to use for parsing the ResultSetrowsExpected
- number of expected rows
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |