Doctrine 2 - ORM

DQL exception when building query with multiple from and join parts