doctrine / orm

Doctrine Object Relational Mapper (ORM)
https://www.doctrine-project.org/projects/orm.html
MIT License
9.93k stars 2.51k forks source link

DDC-429: AritmethicPrimary doesn't handle IdentificationVariable as stated in EBNF #4928

Closed doctrinebot closed 8 years ago

doctrinebot commented 14 years ago

Jira issue originally created by user @guilhermeblanco:

It is not possible to use IdentificationVariable inside an ArithmeticPrimary, although EBNF states that it is possible. This example would work if this was supported:

SELECT m
  FROM fmm:Map m
 WHERE EXISTS(
           SELECT poi.id
             FROM fmm:PointOfInterest poi
            INNER JOIN poi.MapUser mup
            INNER JOIN mup.Map m2
            WHERE m2 = m
       )

NOTE to the m2 = m

doctrinebot commented 14 years ago

Issue was closed with resolution "Fixed"