Made EntityManager flush the Entity, not the EntityName :(