Moved creating of EntityManager to an interceptor