Package org.springframework.jdbc.core
Class SqlInOutParameter
java.lang.Object
org.springframework.jdbc.core.SqlParameter
org.springframework.jdbc.core.ResultSetSupportingSqlParameter
org.springframework.jdbc.core.SqlOutParameter
org.springframework.jdbc.core.SqlInOutParameter
Subclass of 
SqlOutParameter to represent an INOUT parameter.
 Will return true for SqlParameter's isInputValueProvided()
 test, in contrast to a standard SqlOutParameter.
 Output parameters - like all stored procedure parameters - must have names.
- Since:
- 2.0
- Author:
- Thomas Risberg, Juergen Hoeller
- 
Constructor SummaryConstructorsConstructorDescriptionSqlInOutParameter(String name, int sqlType) Create a new SqlInOutParameter.SqlInOutParameter(String name, int sqlType, int scale) Create a new SqlInOutParameter.SqlInOutParameter(String name, int sqlType, String typeName) Create a new SqlInOutParameter.SqlInOutParameter(String name, int sqlType, String typeName, SqlReturnType sqlReturnType) Create a new SqlInOutParameter.SqlInOutParameter(String name, int sqlType, ResultSetExtractor<?> rse) Create a new SqlInOutParameter.SqlInOutParameter(String name, int sqlType, RowCallbackHandler rch) Create a new SqlInOutParameter.SqlInOutParameter(String name, int sqlType, RowMapper<?> rm) Create a new SqlInOutParameter.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanThis implementation always returnstrue.Methods inherited from class org.springframework.jdbc.core.SqlOutParametergetSqlReturnType, isReturnTypeSupportedMethods inherited from class org.springframework.jdbc.core.ResultSetSupportingSqlParametergetResultSetExtractor, getRowCallbackHandler, getRowMapper, isResultSetSupportedMethods inherited from class org.springframework.jdbc.core.SqlParametergetName, getScale, getSqlType, getTypeName, isResultsParameter, sqlTypesToAnonymousParameterList
- 
Constructor Details- 
SqlInOutParameterCreate a new SqlInOutParameter.- Parameters:
- name- the name of the parameter, as used in input and output maps
- sqlType- the parameter SQL type according to- java.sql.Types
 
- 
SqlInOutParameterCreate a new SqlInOutParameter.- Parameters:
- name- the name of the parameter, as used in input and output maps
- sqlType- the parameter SQL type according to- java.sql.Types
- scale- the number of digits after the decimal point (for DECIMAL and NUMERIC types)
 
- 
SqlInOutParameterCreate a new SqlInOutParameter.- Parameters:
- name- the name of the parameter, as used in input and output maps
- sqlType- the parameter SQL type according to- java.sql.Types
- typeName- the type name of the parameter (optional)
 
- 
SqlInOutParameterCreate a new SqlInOutParameter.- Parameters:
- name- the name of the parameter, as used in input and output maps
- sqlType- the parameter SQL type according to- java.sql.Types
- typeName- the type name of the parameter (optional)
- sqlReturnType- custom value handler for complex type (optional)
 
- 
SqlInOutParameterCreate a new SqlInOutParameter.- Parameters:
- name- the name of the parameter, as used in input and output maps
- sqlType- the parameter SQL type according to- java.sql.Types
- rse- the- ResultSetExtractorto use for parsing the- ResultSet
 
- 
SqlInOutParameterCreate a new SqlInOutParameter.- Parameters:
- name- the name of the parameter, as used in input and output maps
- sqlType- the parameter SQL type according to- java.sql.Types
- rch- the- RowCallbackHandlerto use for parsing the- ResultSet
 
- 
SqlInOutParameterCreate a new SqlInOutParameter.
 
- 
- 
Method Details- 
isInputValueProvidedpublic boolean isInputValueProvided()This implementation always returnstrue.- Overrides:
- isInputValueProvidedin class- ResultSetSupportingSqlParameter
 
 
-