mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1938 - API consistency add setParameters(varargs) & setParameter() - migrate from setNextParameter() and setParams()
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user