Re: SQLExecutor.addBatch() modified

2010-06-14 Thread Nathan Maves
On a side note... The ibatis project has moved and been renamed. It is no longer being maintained as an Apache project, but has moved (along with the development team) here: http://www.mybatis.org/ Please join us at the new location by joining the mailing list here: http://groups.google.com/gr

Re: SQLExecutor.addBatch() modified

2010-06-14 Thread Nathan Maves
This is all great stuff but if you could please great a ticket//issue for this and attach the fix to it. This way we can track it. Submission form - http://code.google.com/p/mybatis/issues/entry Nathan On Sun, Jun 13, 2010 at 11:10 PM, wrote: > By default for batch inserts ibatis caches the p

SQLExecutor.addBatch() modified

2010-06-13 Thread Nitin.Dubey
By default for batch inserts ibatis caches the prepared statements in list and always re-uses the last statement for table inserts. This model works for batch inserts for a single table. However, we have a requirement where we need to do batch inserts into several tables in a single transaction.