ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Butler" <jeffgbut...@gmail.com>
Subject Re: Inserting lists
Date Fri, 30 May 2008 13:00:40 GMT
What I meant is that the SQL select statement can return more than one
record by design.  The SQL insert statement works with only one
record.  In that sense, iBATIS is matching what SQL and JDBC do.

Jeff Butler


On Fri, May 30, 2008 at 7:53 AM, Nicholoz Koka Kiknadze
<kiknadze@gmail.com> wrote:
>> It is a trivial matter to write these methods
> Exactly Jeff,  that's why I hoped it would be a trivial addition to sqlmap
> API.
> I'd be happier not to write those trivial things over an over but rather
> keep them in one place. As for transactions, obviously one can revert back
> to looping in application if he wants to commit after single insert...
>
>> iBATIS wraps JDBC and SQL
> Not exatly, you do loop executing queryForList, freeing developers from
> writing those loops in app.
>
> But, OK, I can extend SqlMap to add those methods for my covenience ;)
>
> Thanks for opinion
>
>
>
>
>
>
>
>
>

Mime
View raw message