public class SqlOutParameter extends ResultSetSupportingSqlParameter
Output parameters - like all stored procedure parameters - must have names.
SqlReturnResultSet,
SqlInOutParameter| Constructor and Description |
|---|
SqlOutParameter(java.lang.String name,
int sqlType)
Create a new SqlOutParameter.
|
SqlOutParameter(java.lang.String name,
int sqlType,
int scale)
Create a new SqlOutParameter.
|
SqlOutParameter(java.lang.String name,
int sqlType,
ResultSetExtractor rse)
Create a new SqlOutParameter.
|
SqlOutParameter(java.lang.String name,
int sqlType,
RowCallbackHandler rch)
Create a new SqlOutParameter.
|
SqlOutParameter(java.lang.String name,
int sqlType,
RowMapper rm)
Create a new SqlOutParameter.
|
SqlOutParameter(java.lang.String name,
int sqlType,
java.lang.String typeName)
Create a new SqlOutParameter.
|
SqlOutParameter(java.lang.String name,
int sqlType,
java.lang.String typeName,
SqlReturnType sqlReturnType)
Create a new SqlOutParameter.
|
| Modifier and Type | Method and Description |
|---|---|
SqlReturnType |
getSqlReturnType()
Return the custom return type, if any.
|
boolean |
isReturnTypeSupported()
Return whether this parameter holds a custom return type.
|
getResultSetExtractor, getRowCallbackHandler, getRowMapper, isInputValueProvided, isResultSetSupportedgetName, getScale, getSqlType, getTypeName, isResultsParameter, sqlTypesToAnonymousParameterListpublic SqlOutParameter(java.lang.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 SqlOutParameter(java.lang.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 SqlOutParameter(java.lang.String name,
int sqlType,
java.lang.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 SqlOutParameter(java.lang.String name,
int sqlType,
java.lang.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 SqlOutParameter(java.lang.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 SqlOutParameter(java.lang.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 SqlOutParameter(java.lang.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 SqlReturnType getSqlReturnType()
public boolean isReturnTypeSupported()