Em Fri, 18 Dec 2009 17:40:10 -0200, Everton Agner <[email protected]> escreveu:

Hi,

Hi!

So, In my onSuccess() method, I update my "current" object on Session. But, I get a:

"a different object with the same identifier value was already associated with the session:..."

Are you using Session.update()? Use Session.merge() instead. It should solve your problem.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, software architect and developer, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to