[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2986) Seam Transaction rolls back on all Exceptions

Sean Burns (JIRA) jira-events at lists.jboss.org
Mon May 12 17:33:21 EDT 2008


Seam Transaction rolls back on all Exceptions
---------------------------------------------

                 Key: JBSEAM-2986
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2986
             Project: Seam
          Issue Type: Bug
    Affects Versions: 2.0.2.CR2
            Reporter: Sean Burns


It looks like 
org.jboss.seam.util.Work 
rolls back a transaction for all exceptions if it had to create a transaction. 

This does not follow the normal EJB rollback spec, where transactions are only rolled back on Runtime Exceptions and @ApplicationException(rollback=true).

I can work around this by using EJB Seam components instead of Seam POJO.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list