Can you debug and check id and version field? If I remember correctly
version has to be != null if you update an object.
On Thu, 13 Dec 2007 07:03:09 -0800 (PST)
base7691 <[EMAIL PROTECTED]> wrote:
If I try to update a already persisted object it seems that all
things are OK
and I get the 'successfully updated' message. But when I change to
the list
view I recognize that a new instance of the object is persistet in
the
database. Could it be that this has something to do with the merge
method of
the HibernateTemplate? It dosen't depend if I use
GenericDaoHibernate or
UniversalDaoHibernate, I get the same result.
Wolfgang
--
View this message in context:
http://www.nabble.com/Updating-POJO-results-in-new-database-entry-tp14317638s2369p14317638.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]