[jboss-user] [EJB 3.0] - Re: What is the best way to re-attach a detached entity?
taras1984
do-not-reply at jboss.com
Fri Aug 18 10:18:56 EDT 2006
I think Wolfc is right.
You have to try:
customer2 = entityManager.merge(customer);
|
not
entityManager.merge(customer);
|
I think customer2 is merged entity when customer after those codes remains detached.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966058#3966058
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966058
More information about the jboss-user
mailing list