In a previous message, Prashanth Sukumaran wrote:
>
> When executing in batch mode i do this.
>
> try {
> startTransaction();
>
> startBatch();
> for (int i = 0; i < dealerFrLines.length; i++) {
> param.put("dealerFrLines", new Integer(dealerFrLines[i]));
> insert("insertShopDFL", param);
> }
> executeBatch();
>
> commitTransaction();
>
> } finally {
> endTransaction();
> }
>
Yes, this is more or less what I do now. I was hoping there was
a way to pass a collection or type array directly to iBATIS and
let it handle the iterating.
Eric
--
_______________________________________________
Search for businesses by name, location, or phone number. -Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10