users@glassfish.java.net

Re: Inner transection in EJB3 using annotation (in stateless session bean)

From: <glassfish_at_javadesktop.org>
Date: Tue, 15 May 2007 13:10:14 PDT

Rollback throws an exception, so if you mark processOrder() as TransactionAttributeType.REQUIRES_NEW and put try-catch around the method call, will it solve your problem?

-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

http://forums.java.net/jive/thread.jspa?messageID=217131