You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -350,4 +351,15 @@ public void batchInsertWithMultipleInsertValues() {
350
351
System.out.println(sql);
351
352
assertThat(sql).isEqualToIgnoringWhitespace("INSERT INTO TABLE_A (a, b) VALUES (#{a1}, #{b1}), (#{a2}, #{b2})");
352
353
}
354
+
355
+
356
+
@Test
357
+
publicvoidtestValues() {
358
+
finalSQLsql = newSQL() {{
359
+
INSERT_INTO("PERSON");
360
+
VALUES("ID, FIRST_NAME", "#{id}, #{firstName}");
361
+
VALUES("LAST_NAME", "#{lastName}");
362
+
}};
363
+
AssertionsForClassTypes.assertThat(sql.toString()).isEqualToIgnoringWhitespace("INSERT INTO PERSON (ID, FIRST_NAME, LAST_NAME) VALUES (#{id}, #{firstName}, #{lastName})");
0 commit comments