[jboss-user] [EJB 3.0] - Re: What is the best way to re-attach a detached entity?

SmokingAPipe do-not-reply at jboss.com
Fri Aug 18 02:42:00 EDT 2006


Or the other option would be to remove and persist:

entityManager.remove(customer);
entityManager.persist(customer);

but that seems like it would not be a good solution.  Surely this is something that comes up in nearly every Seam application, but I can't find any good suggestions on how to handle this.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965952#3965952

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965952



More information about the jboss-user mailing list