Batch support for Merge clause
Added support :
@Test public void mergeBatch(){ SQLMergeClause merge = merge(survey) .keys(survey.id) .set(survey.id, 5) .set(survey.name, "5") .addBatch();
merge .keys(survey.id) .set(survey.id, 6) .set(survey.name, "6") .addBatch();
assertEquals(2, merge.execute()); }
Released in 1.9.7
Bug watches keep track of this bug in other bug trackers.
Added support :
@Test
SQLMergeClause merge = merge(survey)
.keys( survey. id)
.set( survey. id, 5)
.set( survey. name, "5")
.addBatch( );
public void mergeBatch(){
merge
.keys( survey. id)
.set( survey. id, 6)
.set( survey. name, "6")
.addBatch( );
}