DDC-2006: one2many to self inverts table aliasses and creates wrong db query #2684

Closed
doctrinebot opened this Issue Aug 31, 2012 · 4 comments

2 participants

@doctrinebot

Jira issue originally created by user ksafke:

See attachment for description.

@doctrinebot

Comment created by @FabioBatSilva:

Hi Xavier,

Could you past your entities and mappings please ?

Thanks

@doctrinebot

Comment created by @beberlei:

What version of Doctrine are you using? This sounds like a bug that was fixed some time ago

@doctrinebot

Comment created by @beberlei:

The query is correct, "c.parentCategory c2" generates the right query as per your screenshot. Its just not the order of the queries that you want, Native SQL wil help you here.

@doctrinebot

Issue was closed with resolution "Invalid"

@beberlei beberlei was assigned by doctrinebot Dec 6, 2015
@doctrinebot doctrinebot closed this Dec 6, 2015
@doctrinebot doctrinebot added the Bug label Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment