Jira issue originally created by user toxygene:
The DQL IN clause does not support multiple column statements.
... WHERE (a, b) IN (SELECT a, b ...) ...
The only work around is to use a native query which is pretty cumbersome, so having this in DQL would be really nice.
Comment created by @guilhermeblanco:
Marking as duplicate
Issue was closed with resolution "Duplicate"