ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From burkiac <burak_a...@yahoo.com>
Subject how to get updated entity with update() method
Date Wed, 06 Aug 2008 08:40:53 GMT

Hi All,

We are using Spring 2.5.4 + iBATIS 2.3.2 as persistence solution of a
development framework. We managed to build a generic CRUD base
implementation to ease development. What we couldn't do is, get the updated
object as a result of update() method. Because update method returns an int
representing affected row count. And unfortunately we do not have primary
key field on that time, so it is impossible to read the record again.  Can
you guys suggest a solution for that?

View this message in context: http://www.nabble.com/how-to-get-updated-entity-with-update%28%29-method-tp18846728p18846728.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message