Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2746

When generating DQL query entities with "Class Table Inheritance" is a SQL generated inconsistent

    Details

    • Type: Bug Bug
    • Status: Awaiting Feedback
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: DQL
    • Security Level: All
    • Labels:
      None

      Description

      When I run the query DQL involving entities "Class Table Inheritance" is a SQL generated inconsistent see this gist: https://gist.github.com/hugohenrique/b322e8d998c870265177

      1. DDC2746Test_original.php
        22 kB
        Hugo Henrique
      2. DDC2746Test.php
        8 kB
        Hugo Henrique

        Activity

        Hide
        Hugo Henrique added a comment -

        An example of incoherent generation of SQL:
        https://gist.github.com/hugohenrique/b322e8d998c870265177

        Show
        Hugo Henrique added a comment - An example of incoherent generation of SQL: https://gist.github.com/hugohenrique/b322e8d998c870265177

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Hugo Henrique
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: