Here's an alternative:

Instead of trying to ignore the exception, try calling em.contains(...) and if 
that returns false, then execute em.persist(...).

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

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

Reply via email to