Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
For executing insert, update and delete command the method DBDatabase.executeSQL must be used.
When using prepared statements however it is necessary to use the overload that allows to specify the commands parameter values like this:
db.executeSQL(cmd.getInsert(), cmd.getParamValues(), conn)
In order to avoid that user use the wrong overload and forget to provided the command param values, the simple overload should be depreated.
Instead new overlaods taking a command object should be supplied.