Try to use persist. Merge should be used only for detached object and it is not your case
Jan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046301#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...