Doctrine 2 - ORM

Using a repository with composite keys generates invalid SQL