public class

ResultSetSupportingSqlParameter

extends SqlParameter
java.lang.Object
   ↳ org.springframework.jdbc.core.SqlParameter
     ↳ org.springframework.jdbc.core.ResultSetSupportingSqlParameter
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Common base class for ResultSet-supporting SqlParameters like SqlOutParameter and SqlReturnResultSet.

Summary

Public Constructors
ResultSetSupportingSqlParameter(String name, int sqlType)
Create a new ResultSetSupportingSqlParameter.
ResultSetSupportingSqlParameter(String name, int sqlType, int scale)
Create a new ResultSetSupportingSqlParameter.
ResultSetSupportingSqlParameter(String name, int sqlType, String typeName)
Create a new ResultSetSupportingSqlParameter.
ResultSetSupportingSqlParameter(String name, int sqlType, ResultSetExtractor rse)
Create a new ResultSetSupportingSqlParameter.
ResultSetSupportingSqlParameter(String name, int sqlType, RowCallbackHandler rch)
Create a new ResultSetSupportingSqlParameter.
ResultSetSupportingSqlParameter(String name, int sqlType, RowMapper rm)
Create a new ResultSetSupportingSqlParameter.
Public Methods
ResultSetExtractor getResultSetExtractor()
Return the ResultSetExtractor held by this parameter, if any.
RowCallbackHandler getRowCallbackHandler()
Return the RowCallbackHandler held by this parameter, if any.
RowMapper getRowMapper()
Return the RowMapper held by this parameter, if any.
boolean isInputValueProvided()

This implementation always returns false.

boolean isResultSetSupported()
Does this parameter support a ResultSet, i.e.
[Expand]
Inherited Methods
From class org.springframework.jdbc.core.SqlParameter
From class java.lang.Object

Public Constructors

public ResultSetSupportingSqlParameter (String name, int sqlType)

Create a new ResultSetSupportingSqlParameter.

Parameters
name name of the parameter, as used in input and output maps
sqlType SQL type of the parameter according to java.sql.Types

public ResultSetSupportingSqlParameter (String name, int sqlType, int scale)

Create a new ResultSetSupportingSqlParameter.

Parameters
name name of the parameter, as used in input and output maps
sqlType SQL type of the parameter according to java.sql.Types
scale the number of digits after the decimal point (for DECIMAL and NUMERIC types)

public ResultSetSupportingSqlParameter (String name, int sqlType, String typeName)

Create a new ResultSetSupportingSqlParameter.

Parameters
name name of the parameter, as used in input and output maps
sqlType SQL type of the parameter according to java.sql.Types
typeName the type name of the parameter (optional)

public ResultSetSupportingSqlParameter (String name, int sqlType, ResultSetExtractor rse)

Create a new ResultSetSupportingSqlParameter.

Parameters
name name of the parameter, as used in input and output maps
sqlType SQL type of the parameter according to java.sql.Types
rse ResultSetExtractor to use for parsing the ResultSet

public ResultSetSupportingSqlParameter (String name, int sqlType, RowCallbackHandler rch)

Create a new ResultSetSupportingSqlParameter.

Parameters
name name of the parameter, as used in input and output maps
sqlType SQL type of the parameter according to java.sql.Types
rch RowCallbackHandler to use for parsing the ResultSet

public ResultSetSupportingSqlParameter (String name, int sqlType, RowMapper rm)

Create a new ResultSetSupportingSqlParameter.

Parameters
name name of the parameter, as used in input and output maps
sqlType SQL type of the parameter according to java.sql.Types
rm RowMapper to use for parsing the ResultSet

Public Methods

public ResultSetExtractor getResultSetExtractor ()

Return the ResultSetExtractor held by this parameter, if any.

public RowCallbackHandler getRowCallbackHandler ()

Return the RowCallbackHandler held by this parameter, if any.

public RowMapper getRowMapper ()

Return the RowMapper held by this parameter, if any.

public boolean isInputValueProvided ()

This implementation always returns false.

public boolean isResultSetSupported ()

Does this parameter support a ResultSet, i.e. does it hold a ResultSetExtractor, RowCallbackHandler or RowMapper?