You need to get managed references to the object - e.g. use entityManager.find() or
entityManager.getReference(). Then add these manged references to what you want to
persist.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044254#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...