Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of flip111:
The problem is that the database will not guarantee entity a2 to be the second () in the results, because when not specifying an ORDER BY any order of results can not be guaranteed by the database.
This is a partial fix for bug http://www.doctrine-project.org/jira/browse/[DDC-2689](http://www.doctrine-project.org/jira/browse/DDC-2689)
Comment created by @doctrinebot:
A related Github Pull-Request [GH-809] was closed:
Comment created by @ocramius:
Will be solved in DDC-2718
Issue was closed with resolution "Incomplete"