An alternative, is that you manage to start the persistence context your self, managing it in the application. not nice but it could work; even more aggressive, use the Hibernate API and avoid the EntityManager; I'm not suggesting it but it's an option to consider.