[seam-issues] [JBoss JIRA] Created: (JBSEAM-4547) TransactionInterceptor does not commit the transaction when an application exception occurs

Nicolas Bielza (JIRA) jira-events at lists.jboss.org
Wed Feb 17 16:51:09 EST 2010


TransactionInterceptor does not commit the transaction when an application exception occurs
-------------------------------------------------------------------------------------------

                 Key: JBSEAM-4547
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4547
             Project: Seam
          Issue Type: Bug
    Affects Versions: 2.1.2.GA
         Environment: Seam 2.1.2 / Jetty / Sun JRE 1.6.0_17 / Windows XP
Database: MS SQL Server (also reproduced with H2)
            Reporter: Nicolas Bielza


Running a custom servlet behind Seam ContextFilter, when an application exception occurs, the database transaction is left open, uncommitted.

Looking at the TransactionInterceptor code, it is quite clear that when an exception occurs, the transaction is not committed. I would expect that when the exception is an application exception, the transaction would be committed.

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

        


More information about the seam-issues mailing list