I see, that was indeed my case as my root class is abstract. Maybe that should specified too? These are small things but can help a lot to understand strange behaviors.
Il giorno venerdì 5 dicembre 2014 11:36:51 UTC+1, Jàπ (Jasper N. Brouwer) ha scritto: > > The leaf part isn't the problem, it can filter on parents as well, but not > if the parent is an abstract class. > > -- > Jasper N. Brouwer > (@jaspernbrouwer) > > > On 5 December 2014 at 11:26:51, Stefano Angaran ([email protected] > <javascript:>) wrote: > > I was looking at Doctrine SQLWalker code and that was my conclusion too. > > > > I think I will refactor my query code then. If I change the FROM clause > to > > look for B items I can make it work without using instance of operator. > > > > My suggestion is also to better clarify this in the INSTANCE OF operator > > documentation stating that it should be used only to search for leaf > > entities, what you think? > > > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
