Doctrine 2 - ORM

Paginator problem with SQL Server around DISTINCT keyword.