[jboss-jira] [JBoss JIRA] Updated: (JBAS-9346) 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
Mon Apr 18 13:03:33 EDT 2011
[ https://issues.jboss.org/browse/JBAS-9346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow updated JBAS-9346:
-------------------------------
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.
> Servlets that use container managed transactional entity managers outside of JTA transactions, should close the entity manager after the servlet completes
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBAS-9346
> URL: https://issues.jboss.org/browse/JBAS-9346
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 7.0.0.Beta4
>
>
> 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