ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koka Kiknadze" <226...@gmail.com>
Subject Re: cursor or multiple parameters
Date Fri, 13 Jul 2007 18:47:48 GMT
Well, if you want to do it with domain object, think yuo can do it with
three sql statements instead of two - Select .... for update returning you
domain object. Delete the row using selected object. Change the desired
field of the object  and run insert. Of course it will work unless your
table has some cascading deletes or updates.

View raw message