Hi Jens,
Thanks for the quick reply.
I have the creation of DTOs and the JPA query language in mind. Thanks
for pointing out.
Our DB-Accesses are very straight forward, so no really complex
queries.
Just one more thing... Why is it important to have one EntityManager
instance per request?
What would the consequences be? If I am only allowed to have one
EntityManager from the top till deep down in the business logic maybe
it would be better to write a servlet filter and keep the
EntityManager as a ThreadLocal variable for this request...
Greetings
Stefan