[jboss-jira] [JBoss JIRA] Resolved: (AS7-530) Servlets that use container managed transactional entity managers outside of JTA transactions, should close the entity manager after the servlet completes

Scott Marlow (JIRA) jira-events at lists.jboss.org
Fri May 20 09:39:01 EDT 2011


     [ https://issues.jboss.org/browse/AS7-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow resolved AS7-530.
------------------------------

    Resolution: Done


> Servlets that use container managed transactional entity managers outside of JTA transactions, should close the entity manager after the servlet completes
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-530
>                 URL: https://issues.jboss.org/browse/AS7-530
>             Project: Application Server 7
>          Issue Type: Task
>          Components: JPA / Hibernate
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 7.0.0.CR1
>
>
> 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.  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list