doctrine/doctrine2 — pull request #1152 by fran6co (2014-10-02 14:17:31+00:00)
Title: Adds error message when the key is composite

An example is:

```
SELECT u FROM User u INNER JOIN Address a ON a.user = u
```

When User has a composite key.