Don't inherit the scope of the repository from the EntityManager but let it be the default (application scope singleton).