On Tue, 03 Jan 2012 14:50:03 -0200, felipexz <felipe....@gmail.com> wrote:
I tryed.. after the beaneditor submit it should persist my object.. but
it comes null.
And I get this error:
Caused by: org.hibernate.PersistentObjectException: detached entity
passed to persist: com.icms.feam.entities.Municipio
Use Session.merge() instead. persist() can only be used for objects that
don't exist in the database yet.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org