#1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()

This commit is contained in:
rob bygrave
2020-02-15 02:01:02 +13:00
parent d236988035
commit 8feb100ac6
44 changed files with 386 additions and 159 deletions
@@ -220,7 +220,7 @@ public class TestBatchInsertSimple extends BaseTestCase {
// don't write code like the above but use bind values like:
try (Transaction txn = DB.beginTransaction()) {
DB.sqlUpdate("update ut_master set name=? where id=?")
.setParams("DoNotDoThisPlease", 999999999)
.setParameters("DoNotDoThisPlease", 999999999)
.addBatch();
txn.commit();