println("Positive Statement: add 3 statements, clear and execute batch");
stmt.addBatch("insert into t1 values(2)");
stmt.addBatch("insert into t1 values(2)");
stmt.addBatch("insert into t1 values(2)");
stmt.clearBatch();
// Batch should be cleared, there should be no update count
assertBatchUpdateCounts(new int[0], stmt.executeBatch());
assertTableRowCount("T1", 0);