Doctrine 2 - ORM

DQL should deal correctly with composite primary keys