|
|
@ -3826,7 +3826,7 @@ like: |
|
|
|
[subs="verbatim,quotes"] |
|
|
|
[subs="verbatim,quotes"] |
|
|
|
---- |
|
|
|
---- |
|
|
|
new SqlParameter("in_id", Types.NUMERIC), |
|
|
|
new SqlParameter("in_id", Types.NUMERIC), |
|
|
|
new SqlOutParameter("out_first_name", Types.VARCHAR), |
|
|
|
new SqlOutParameter("out_first_name", Types.VARCHAR), |
|
|
|
---- |
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
The first line with the `SqlParameter` declares an IN parameter. IN parameters can be |
|
|
|
The first line with the `SqlParameter` declares an IN parameter. IN parameters can be |
|
|
@ -4141,7 +4141,7 @@ constants. |
|
|
|
[subs="verbatim,quotes"] |
|
|
|
[subs="verbatim,quotes"] |
|
|
|
---- |
|
|
|
---- |
|
|
|
new SqlParameter("in_id", Types.NUMERIC), |
|
|
|
new SqlParameter("in_id", Types.NUMERIC), |
|
|
|
new SqlOutParameter("out_first_name", Types.VARCHAR), |
|
|
|
new SqlOutParameter("out_first_name", Types.VARCHAR), |
|
|
|
---- |
|
|
|
---- |
|
|
|
|
|
|
|
|
|
|
|
The first line with the `SqlParameter` declares an IN parameter. IN parameters can be |
|
|
|
The first line with the `SqlParameter` declares an IN parameter. IN parameters can be |
|
|
@ -4149,10 +4149,10 @@ used for both stored procedure calls and for queries using the `SqlQuery` and it |
|
|
|
subclasses covered in the following section. |
|
|
|
subclasses covered in the following section. |
|
|
|
|
|
|
|
|
|
|
|
The second line with the `SqlOutParameter` declares an `out` parameter to be used in the |
|
|
|
The second line with the `SqlOutParameter` declares an `out` parameter to be used in the |
|
|
|
stored procedure call. There is also an `SqlInOutParameter` for `I` `nOut` parameters, |
|
|
|
stored procedure call. There is also an `SqlInOutParameter` for `InOut` parameters, |
|
|
|
parameters that provide an `in` value to the procedure and that also return a value. |
|
|
|
parameters that provide an `in` value to the procedure and that also return a value. |
|
|
|
|
|
|
|
|
|
|
|
For `i` `n` parameters, in addition to the name and the SQL type, you can specify a |
|
|
|
For `in` parameters, in addition to the name and the SQL type, you can specify a |
|
|
|
scale for numeric data or a type name for custom database types. For `out` parameters |
|
|
|
scale for numeric data or a type name for custom database types. For `out` parameters |
|
|
|
you can provide a `RowMapper` to handle mapping of rows returned from a REF cursor. |
|
|
|
you can provide a `RowMapper` to handle mapping of rows returned from a REF cursor. |
|
|
|
Another option is to specify an `SqlReturnType` that enables you to define customized |
|
|
|
Another option is to specify an `SqlReturnType` that enables you to define customized |
|
|
|