ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felipe Maza" <fel...@felipem.com>
Subject Array or List in a ParameterClass
Date Tue, 25 Sep 2007 17:45:01 GMT
Hi,

I'm trying send a array to ibatis for do multiple updates in a sentence

I read examples of <iterate> for List, but i don't know how apply to my xml




for example, i have some users for update

<update id="example" parameterClass="???">
    update users set user= ??? where id_user= ???
</update>




other solution is do a bucle in the DAO, but i need do more 1000 updates and
this system is more slow for the server and bbdd :(

thanks.

Mime
View raw message