|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jdbc.core.SqlParameter org.springframework.jdbc.core.ResultSetSupportingSqlParameter org.springframework.jdbc.core.SqlOutParameter org.springframework.jdbc.core.SqlInOutParameter
public class SqlInOutParameter
Subclass of SqlOutParameter to represent an INOUT parameter. Will always return true for "isInputValueProvided" test.
Output parameters - like all stored procedure parameters - must have names.
Constructor Summary | |
---|---|
SqlInOutParameter(String name,
int sqlType)
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. |
|
SqlInOutParameter(String name,
int sqlType,
String typeName)
Create a new SqlInOutParameter. |
|
SqlInOutParameter(String name,
int sqlType,
String typeName,
SqlReturnType sqlReturnType)
Create a new SqlInOutParameter. |
Method Summary | |
---|---|
boolean |
isInputValueProvided()
This implementation always returns true . |
Methods inherited from class org.springframework.jdbc.core.SqlOutParameter |
---|
getSqlReturnType, isReturnTypeSupported |
Methods inherited from class org.springframework.jdbc.core.ResultSetSupportingSqlParameter |
---|
getResultSetExtractor, getRowCallbackHandler, getRowMapper, 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 |
---|
public SqlInOutParameter(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 SqlInOutParameter(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 SqlInOutParameter(String name, int sqlType, String typeName, SqlReturnType sqlReturnType)
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)sqlReturnType
- custom value handler for complex type (optional)public SqlInOutParameter(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 SqlInOutParameter(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 SqlInOutParameter(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 ResultSetMethod Detail |
---|
public boolean isInputValueProvided()
true
.
isInputValueProvided
in class SqlOutParameter
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |