[Entity Retriver] Replacing getCriteriaBuilder with named query (findPrisonersOnRemand).