This is sort of heavy handed but can you call entityManager.clear() first to detach the
entity? This will detach ALL entities from your pc. Unfortunately clear() is not
overloaded to take a particular class or object :(
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088445#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...