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
This commit is contained in:
@@ -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`:
|
||||
[[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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user