createQueryBuilder('z') ->setMaxResults(1) ->getQuery() ->getOneOrNullResult() ; } }