Thanks, that worked. As it turns out, there is no need to call 
entityManager.merge() at all. As the Exam entity is always in the 
entityManager, any call to entityManager.flush() will do the job of updating 
the database. I guess no one has got my problem because I shouldn't have called 
merge() in the first place.

Thanks again.

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

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

Reply via email to