mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-3022: JOIN without association generates invalid SQL #3752
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 (Mar 11, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user mnapoli:
I saw in the documentation than since Doctrine 2.4 we could join without associations, using fields.
However I tried it and it generates invalid SQL (I use master). Here is an example:
Generates the following SQL:
As you can see, instead of "INNER JOIN ... ON ..." we have "INNER JOIN ... AND ..." which is invalid.
I can't say if it's a regression of 2.5, or already in 2.4. I can't test my project with 2.4 because I used embedded objects.