[jboss-user] [EJB 3.0 Users] - Re: how to handle hibernate exceptions in ejb3

Wolfgang Knauf do-not-reply at jboss.com
Mon Nov 9 10:22:18 EST 2009


Hi,

probably you will have to catch the exceptions which are thrown when calling "entityManager.persist(...)", and in some inner exception you should find the hibernate exceptions and perform the appropriate handling. 

Hope this helps

Wolfgang

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

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264604



More information about the jboss-user mailing list