Browse Source

Fix StoredProcedure documentation in reference manual

This commit aligns the documentation in the reference manual with the
actual source code for StoredProcedure with regard to public execute()
methods.

Closes gh-26505
pull/26558/head
Sam Brannen 5 years ago
parent
commit
6c22f7ef5e
  1. 14
      src/docs/asciidoc/data-access.adoc

14
src/docs/asciidoc/data-access.adoc

@ -5503,10 +5503,10 @@ The following example creates a custom update method named `execute`: @@ -5503,10 +5503,10 @@ The following example creates a custom update method named `execute`:
}
/**
* @param id for the Customer to be updated
* @param rating the new value for credit rating
* @return number of rows updated
*/
* @param id for the Customer to be updated
* @param rating the new value for credit rating
* @return number of rows updated
*/
fun execute(id: Int, rating: Int): Int {
return update(rating, id)
}
@ -5517,10 +5517,8 @@ The following example creates a custom update method named `execute`: @@ -5517,10 +5517,8 @@ The following example creates a custom update method named `execute`:
[[jdbc-StoredProcedure]]
==== Using `StoredProcedure`
The `StoredProcedure` class is a superclass for object abstractions of RDBMS stored
procedures. This class is `abstract`, and its various `execute(..)` methods have
`protected` access, preventing use other than through a subclass that offers tighter
typing.
The `StoredProcedure` class is an `abstract` superclass for object abstractions of RDBMS
stored procedures.
The inherited `sql` property is the name of the stored procedure in the RDBMS.

Loading…
Cancel
Save