Skip to content

Commit 6c22f7e

Browse files
committed
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
1 parent 236623f commit 6c22f7e

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/docs/asciidoc/data-access.adoc

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5503,10 +5503,10 @@ The following example creates a custom update method named `execute`:
55035503
}
55045504
55055505
/**
5506-
* @param id for the Customer to be updated
5507-
* @param rating the new value for credit rating
5508-
* @return number of rows updated
5509-
*/
5506+
* @param id for the Customer to be updated
5507+
* @param rating the new value for credit rating
5508+
* @return number of rows updated
5509+
*/
55105510
fun execute(id: Int, rating: Int): Int {
55115511
return update(rating, id)
55125512
}
@@ -5517,10 +5517,8 @@ The following example creates a custom update method named `execute`:
55175517
[[jdbc-StoredProcedure]]
55185518
==== Using `StoredProcedure`
55195519

5520-
The `StoredProcedure` class is a superclass for object abstractions of RDBMS stored
5521-
procedures. This class is `abstract`, and its various `execute(..)` methods have
5522-
`protected` access, preventing use other than through a subclass that offers tighter
5523-
typing.
5520+
The `StoredProcedure` class is an `abstract` superclass for object abstractions of RDBMS
5521+
stored procedures.
55245522

55255523
The inherited `sql` property is the name of the stored procedure in the RDBMS.
55265524

0 commit comments

Comments
 (0)