Mantis - Resin
Viewing Issue Advanced Details
3679 minor always 09-09-09 17:12 01-11-10 10:07
voodude  
ferg  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.3  
0003679: Resin doesn't respect ApplicationException(rollback=false)
I have a MyException extends RuntimeException annotated with @ApplicationException(rollback=false). When I throw MyException out of a bean method with @TransactionAttribute(REQUIRED), instead of getting the MyException, I get a TransactionRolledBackLocalException (and a rolled back transaction).

Section 14.1.1 of the ejb3.0 spec says that application exceptions can be RuntimeExceptions, and the container must respect the @ApplicationException(rollback=false) annotation.

Thanks!

Notes
(0004380)
ferg   
01-11-10 10:07   
ejb/128-