public class ResultSetSupportingSqlParameter extends SqlParameter
SqlOutParameter
and SqlReturnResultSet
.Constructor and Description |
---|
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,
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.
|
ResultSetSupportingSqlParameter(String name,
int sqlType,
String typeName)
Create a new ResultSetSupportingSqlParameter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getName, getScale, getSqlType, getTypeName, isResultsParameter, sqlTypesToAnonymousParameterList
public ResultSetSupportingSqlParameter(String name, int sqlType)
name
- name of the parameter, as used in input and output mapssqlType
- SQL type of the parameter according to java.sql.Typespublic ResultSetSupportingSqlParameter(String name, int sqlType, int scale)
name
- name of the parameter, as used in input and output mapssqlType
- SQL type of the parameter according to java.sql.Typesscale
- the number of digits after the decimal point
(for DECIMAL and NUMERIC types)public ResultSetSupportingSqlParameter(String name, int sqlType, String typeName)
name
- name of the parameter, as used in input and output mapssqlType
- SQL type of the parameter according to java.sql.TypestypeName
- the type name of the parameter (optional)public ResultSetSupportingSqlParameter(String name, int sqlType, ResultSetExtractor rse)
name
- name of the parameter, as used in input and output mapssqlType
- SQL type of the parameter according to java.sql.Typesrse
- ResultSetExtractor to use for parsing the ResultSetpublic ResultSetSupportingSqlParameter(String name, int sqlType, RowCallbackHandler rch)
name
- name of the parameter, as used in input and output mapssqlType
- SQL type of the parameter according to java.sql.Typesrch
- RowCallbackHandler to use for parsing the ResultSetpublic ResultSetSupportingSqlParameter(String name, int sqlType, RowMapper rm)
name
- name of the parameter, as used in input and output mapssqlType
- SQL type of the parameter according to java.sql.Typesrm
- RowMapper to use for parsing the ResultSetpublic boolean isResultSetSupported()
public ResultSetExtractor getResultSetExtractor()
public RowCallbackHandler getRowCallbackHandler()
public RowMapper getRowMapper()
public boolean isInputValueProvided()
This implementation always returns false
.
isInputValueProvided
in class SqlParameter