I solved the problem. The id field is a hidden field but I haden't included a hidden version field. Maybe it would be a good idea to mention it in the 'Using JSF' tutorial.
Wolfgang mraible wrote: > > Is your id field a hidden field? > > Matt > > On 12/13/07, 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] > > > -- View this message in context: http://www.nabble.com/Updating-POJO-results-in-new-database-entry-tp14317638s2369p14331438.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]
