ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Goodin" <brandon.goo...@gmail.com>
Subject Re: Passing ArrayList of Object for insert
Date Tue, 21 Nov 2006 14:30:18 GMT
If you database supports multiple inserts in a single jdbc call. But I don't
know which databases support that. Is there a reason you can't iterate over
your list and save each record via your dao?

Brandon

On 11/21/06, Premanand Kumarapillai <Premanand.Kumarapillai@igate.com>
wrote:
>
>
>
>
>
> Hi,
>
> I have a ArrayList of value objects. Is it possible to pass such an array
> to iBATIS for insert?
>
> The Value object can be mapped to a table in the DB.
>
> Thanks in advance,
> Prem
>
>
>
>
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
>
> Information transmitted by this EMAIL is proprietary to iGATE Group of Companies and
is intended for use only by the individual
>
> or entity to whom it is addressed and may contain information that is privileged, confidential,
or exempt from disclosure under
>
> applicable law. If you are not the intended recipient of this EMAIL immediately notify
the sender at iGATE or
> mailadmin@igate.com
> and delete this EMAIL including any attachments
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>

Mime
View raw message