Re: Positional Parameters

2009-08-03 Thread Sheile
Hi. One of solution is this: INSERT INTO my_table (f1, f2, f3) VALUES #[]# Above solution use java.util.List, I don't know that how to use the Object[]. 2009/8/4 Stephen Scheck : > Can iBATIS support simple positional parameters for inserts? I wa

Positional Parameters

2009-08-03 Thread Stephen Scheck
Can iBATIS support simple positional parameters for inserts? I want to do something like: INSERT INTO my_table (f1, f2, f3) VALUES (?, ?, ?) executor.startBatch(); for (int objNum = 0; objNum < MAX_OBJ_NUM; objNum++) { Object[] args = new Object[] { objNum, v