Romain, one question. You said that if I was using it outside a transaction I should clear myself the entityManager.
But looking at the JtaEntityManager it does nothing in that case: public void clear() { if (!extended && !isTransactionActive()) { return; } .... } How can I clear the entityManager? -- Sent from: http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html