Doctrine 2 - ORM

GROUP BY does not work with functions