Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-530

Servlets that use container managed transactional entity managers outside of JTA transactions, should close the entity manager after the servlet completes

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 7.0.0.CR1
    • None
    • JPA / Hibernate
    • None

    Description

      For any servlet using a container managed entity manager, without a JTA transaction active. The container managed entity manager should be closed after the servlet invocation completes.

      One way this might be done, is by dynamically adding the org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve valve, to the JBossWebMetaData metadata object, which is
      equivalent to adding the valve to jboss-web.xml.

      Attachments

        Issue Links

          Activity

            People

              smarlow1@redhat.com Scott Marlow
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: