|
|
|
@ -349,11 +349,11 @@ parameters return the data read from the table. |
|
|
|
|
|
|
|
|
|
|
|
You can declare `SimpleJdbcCall` in a manner similar to declaring `SimpleJdbcInsert`. You |
|
|
|
You can declare `SimpleJdbcCall` in a manner similar to declaring `SimpleJdbcInsert`. You |
|
|
|
should instantiate and configure the class in the initialization method of your data-access |
|
|
|
should instantiate and configure the class in the initialization method of your data-access |
|
|
|
layer. Compared to the `StoredProcedure` class, you need not create a subclass |
|
|
|
layer. In contrast to the `StoredProcedure` class, you do not need to create a subclass, |
|
|
|
and you need not declare parameters that can be looked up in the database metadata. |
|
|
|
and you do not need to declare parameters that can be looked up in the database metadata. |
|
|
|
The following example of a `SimpleJdbcCall` configuration uses the preceding stored |
|
|
|
The following `SimpleJdbcCall` configuration example uses the preceding stored procedure. |
|
|
|
procedure (the only configuration option, in addition to the `DataSource`, is the name |
|
|
|
The only configuration option (other than the `DataSource`) is the name of the stored |
|
|
|
of the stored procedure): |
|
|
|
procedure. |
|
|
|
|
|
|
|
|
|
|
|
[tabs] |
|
|
|
[tabs] |
|
|
|
====== |
|
|
|
====== |
|
|
|
|