This is very suspicious code, it should not work and this should be correct:


  | entityManager.remove( entityManager.merge(this.recipe) );
  | 

Merge does not reattach the given instance, it returns an "attached" managed 
instance. Which is the right state for removing.

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

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

Reply via email to