Hi,
When you say the executorType to "Batch", then it means that all
the inserts will be done in a single hit to db?
Actually i have a list of objects which i need to insert.
Now ill iterate , update the vo and call insert() as mentioned by
Denis.This will ensure that all these inserts will be done by hitting
the db once?
Please confirm.
Thanks.
Regards
Senthil Kumar Sekar
On Aug 6, 1:28 am, Nathan Maves <
nathan.ma...@gmail.com> wrote:
> you should not have to set the default if you use the following...
>
> openSession(ExecutorType.BATCH);
>
> On Thu, Aug 5, 2010 at 2:06 PM, Denis Haskin <
de...@haskinferguson.net>wrote:
>
>
>
> > So why did I need to set
> > <setting name="defaultExecutorType" value="BATCH"/>
> > ?
>
> > And is there anyway to control the batch size?
>
> > Also... can MyBatis do multi-row INSERT statements?
>
> > dwh
>
> > On Thu, Aug 5, 2010 at 3:29 PM, Nathan Maves <
nathan.ma...@gmail.com>
> > >> > dwh- Hide quoted text -
>
> - Show quoted text -