When you return the entity back to the client from the bean, it becomes 
detached from the entitymanager. When you are passing the entity back to the 
bean, the second time, you have the option to call the 

mergedEntity = entityManager.merge(entity);

to re-attach the detached entity.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4201757
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to