Even better, try using em.merge(...) instead of em.persist(...). That way if 
the entity exists it will be merged and you won't get an exception.


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

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

Reply via email to