public void testNamedBatch() throws Exception {
IUserCommandBatch cmd = dc.createUserCommandBatch("insert into performance_sample(a, b, c) values(:a, :b, :c)") ;
for (int i = 0; i < 10; i++) {
cmd.addBatchParam("a", i) ;
cmd.addBatchParam("b", "No." + i + ".....") ;
cmd.addBatchParam("c", RandomUtil.nextRandomString(RandomUtil.nextRandomInt(10, 50), RandomUtil.NUMBER_CHAR_TYPE)) ;
}
cmd.execUpdate() ;