Jira issue originally created by user reinier.kip:
Reference thread: http://groups.google.com/group/doctrine-user/browse_thread/thread/5f3e01818cf30878
Criteria specified with QueryBuilder::leftJoin() do not appear in the native query. Looks like the with/on extra join clauses are not yet processed
properly by the SqlWalker that constructs the SQL+parameters.
Comment created by @guilhermeblanco:
They talk about the same thing.
Comment created by @beberlei:
Patch that fixes both DDC-135 but restricts it by the assumptions of DDC-177, namely not allowing to fetch join a LEFT JOIN .. ON/WITH clause
Comment created by romanb:
@Benjamin: Thats a good start but its not yet what its supposed to be. WITH appends* to the join condition whereas ON *overrides it. In the patch I only see ON implemented and it behaves like WITH.
I see you implemented WITH also, but they are supposed to produce different SQL. ON overrides, WITH appends.
@Benjamin: Btw. I think we should only implement WITH for now. ON is a bit too scary for me and I'd like to see more usecases first.
Ah now i understand, i didn't get the difference ;-)
I will strip down the patch to WITH then and handle it appropriately
The way i implemented ON it worked as WITH anyways.
Fixed, WITH clauses are processed correctly now. ON clauses throw an exception.
Issue was closed with resolution "Fixed"
Imported 1 attachments from Jira into https://gist.github.com/fc2f5943c39332f7b721