-
Task
-
Resolution: Done
-
Major
-
None
-
None
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.
- is related to
-
AS7-281 transactional entity manager should close persistence context when invoked outside of a transaction (when component invocation completes)
- Closed