You create the paginator and then set the property useOutputWalkers to false.
$paginator = new Paginator($this->query, $fetchJoinCollection = true);
$paginator->setUseOutputWalkers(false);
http://phpbeginnertoadvanced.blogspot.com.co/2015/11/symfony-and-doctrine-pagination-with-dql.html