}
@Test
@IncludeIn(H2)
public void MergeBatch_Templates() {
SQLMergeClause merge = merge(survey)
.keys(survey.id)
.set(survey.id, 5)
.set(survey.name, Expressions.stringTemplate("'5'"))
.addBatch();
merge
.keys(survey.id)
.set(survey.id, 6)
.set(survey.name, Expressions.stringTemplate("'6'"))
.addBatch();
assertEquals(2, merge.execute());
assertEquals(1l, query().from(survey).where(survey.name.eq("5")).count());
assertEquals(1l, query().from(survey).where(survey.name.eq("6")).count());
}