mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-2890: Paginator generates invalid sql for some dql with setUseOutputWalkers(false) and $fetchJoinCollection = true #3604
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Jan 7, 2014).
Originally assigned to: @guilhermeblanco on GitHub.
Jira issue originally created by user jkavalik:
We use doctrine paginator in zf2 for list pagination.
We tried to disable UseOutputWalkers because of performance gain - for some entities expected table size is in millions and we are paginating simple lists with some inner joins - but with UseOutputWalkers(false) and fetchJoinCollection=true (default) we get exception for queries ordering by referenced entity id.
Examples:
SQL:
Paginator SQL:
SQL:
Paginator SQL with error:
Same query with $fetchJoinCollection = false - OK - paginator SQL:
@doctrinebot commented on GitHub (Apr 17, 2014):
Comment created by @guilhermeblanco:
As of
be1cc14a9cissue is now fixed.@doctrinebot commented on GitHub (Apr 17, 2014):
Issue was closed with resolution "Fixed"