Currently we're creating a single EntityManager per request in our web app. We're wanting to create a transaction at the beginning of the request and close it at the end to get automatic transaction support throughout the entire request.
Has anyone tried this? and will this introduce concurrency issues or is should we just wrap all of our update code in a separate transaction?
Note we're using JPA 1.0