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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...