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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to