[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-4396) Dynamically disable/enable global transactions

asookazian (JIRA) jira-events at lists.jboss.org
Sat Aug 29 00:02:23 EDT 2009


Dynamically disable/enable global transactions
----------------------------------------------

                 Key: JBSEAM-4396
                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4396
             Project: Seam
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 2.2.0.GA
         Environment: n/a
            Reporter: asookazian


Need functionality to dynamically enable or disable global transactions.  Currently, it's possible to enable or disable (globally, or once for the entire app) in components.xml like this:

<core:init transaction-management-enabled="false"/>

Would it be possible to enable/disable per JSF page or per Seam component in pages.xml, etc.?

Please see this thread: http://seamframework.org/Community/UsageOfUTTransaction
to find out what use case requires this functionality.

As per SiA book, turning off global tx's is generally not a good idea due to the effects of lazy loading in auto-commit mode (multiple tx's, etc.)  But for certain tx management requirements when not using EJB3 CMT (i.e. Seam @Transactional or BMT), I had to turn off global tx's so there was no active tx when the component's action method was executed.

-- 
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