users@glassfish.java.net

Re: Need to commit nested JTA trnsactions regardless of ...

From: <forums_at_java.net>
Date: Mon, 11 Jul 2011 15:58:29 -0500 (CDT)

There are no sub-transactions support in GlassFish. If you are using EJBs,
and you mark EJB B with transaction type RequiresNew (via annotation or a
deployment descriptor), and catch any exception in EJB A (not to cause its
tx to fail automatically), transaction in the bean B will commit/rollback
separately.

 

-marina


--
[Message sent by forum member 'mvatkina']
View Post: http://forums.java.net/node/820652