SqlParameter to represent an output parameter.
No additional properties: instanceof will be used to check for such types.
Output parameters - like all stored procedure parameters - must have names.
SqlReturnResultSet, SqlInOutParameter
| Modifier and Type | Field and Description |
|---|---|
| private SqlReturnType |
| Access | Constructor and Description |
|---|---|
| public | SqlOutParameter(String
the name of the parameter, as used in input and output maps name, int the parameter SQL type according to sqlType)java.sql.TypesCreate a new SqlOutParameter. |
| public | SqlOutParameter(String
the name of the parameter, as used in input and output maps name, int the parameter SQL type according to sqlType, int java.sql.Typesthe number of digits after the decimal point
(for DECIMAL and NUMERIC types) scale)Create a new SqlOutParameter. |
| public | SqlOutParameter(String
the name of the parameter, as used in input and output maps name, int the parameter SQL type according to sqlType, String java.sql.Typesthe type name of the parameter (optional) typeName)Create a new SqlOutParameter. |
| public | SqlOutParameter(String
the name of the parameter, as used in input and output maps name, int the parameter SQL type according to sqlType, String java.sql.Typesthe type name of the parameter (optional) typeName, SqlReturnType custom value handler for complex type (optional) sqlReturnType)Create a new SqlOutParameter. |
| public | SqlOutParameter(String
the name of the parameter, as used in input and output maps name, int the parameter SQL type according to sqlType, ResultSetExtractor<?> java.sql.Typesthe rse)ResultSetExtractor to use for parsing the ResultSetCreate a new SqlOutParameter. |
| public | SqlOutParameter(String
the name of the parameter, as used in input and output maps name, int the parameter SQL type according to sqlType, RowCallbackHandler java.sql.Typesthe rch)RowCallbackHandler to use for parsing the ResultSetCreate a new SqlOutParameter. |
| public | SqlOutParameter(String
the name of the parameter, as used in input and output maps name, int the parameter SQL type according to sqlType, RowMapper<?> rm)java.sql.TypesCreate a new SqlOutParameter. |
| Modifier and Type | Method and Description |
|---|---|
| public SqlReturnType | |
| public boolean |
| sqlReturnType | back to summary |
|---|---|
| private SqlReturnType sqlReturnType
| |
| SqlOutParameter | back to summary |
|---|---|
| public SqlOutParameter(String name, int sqlType) Create a new SqlOutParameter.
| |
| SqlOutParameter | back to summary |
|---|---|
| public SqlOutParameter(String name, int sqlType, int scale) Create a new SqlOutParameter.
| |
| SqlOutParameter | back to summary |
|---|---|
| public SqlOutParameter(String name, int sqlType, String typeName) Create a new SqlOutParameter. | |
| SqlOutParameter | back to summary |
|---|---|
| public SqlOutParameter(String name, int sqlType, String typeName, SqlReturnType sqlReturnType) Create a new SqlOutParameter.
| |
| SqlOutParameter | back to summary |
|---|---|
| public SqlOutParameter(String name, int sqlType, ResultSetExtractor<?> rse) Create a new SqlOutParameter.
| |
| SqlOutParameter | back to summary |
|---|---|
| public SqlOutParameter(String name, int sqlType, RowCallbackHandler rch) Create a new SqlOutParameter.
| |
| SqlOutParameter | back to summary |
|---|---|
| public SqlOutParameter(String name, int sqlType, RowMapper<?> rm) Create a new SqlOutParameter. | |
| getSqlReturnType | back to summary |
|---|---|
| public SqlReturnType getSqlReturnType() Return the custom return type, if any.
| |
| isReturnTypeSupported | back to summary |
|---|---|
| public boolean isReturnTypeSupported() Return whether this parameter holds a custom return type. | |