[jboss-user] [JBoss Seam] - Re: Problem: Custom validate methods in EJBs crash

gavin.king@jboss.com do-not-reply at jboss.com
Fri Sep 8 15:51:48 EDT 2006


Unfortunately this is not a solution. The EPC is considered "hosed" after a transaction rollback.

The only way (per-spec) is to annotate actionMethod() or the bean as @TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED), which is ugly.

CVS version of Seam has @Begin(flushMode=FlushMode.MANUAL) as a much cleaner alternative.

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

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



More information about the jboss-user mailing list