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