Note: This is an ORM limitation reported on the project\'s issue tracker
I\'m facing an issue building a DQL query using the arbitrary join syntax introduced in
Have you tried an inner join instead a left join? The query that you need probably could
SELECT a.id,
b.id
FROM a
INNER JOIN b
ON ( a.something = b.something )
WHERE b.type IN ( '1', '2', '3' )
You can get that changing the function leftJoin by join, or creating the query with the createQuery method for customs queries.