[jboss-user] [JBoss Seam] - Re: Recovering from a Constraint violation exception
fernando_jmt
do-not-reply at jboss.com
Tue Sep 18 10:52:40 EDT 2007
I do use a Action + Service pattern in order to catch all EJB/JPA exceptions and stay in the same page or display a pretty nice error messages. The action is a simple POJO and the Service is an @EJB , @TransactionAttribute(REQUIRES_NEW) over the method makes me happy in this case.
IIRC, I've already post in this forum how I'm doing (time ago).
HTH.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085551#4085551
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085551
More information about the jboss-user
mailing list