Uploaded image for project: 'Hibernate ORM'
  1. HHH-11340

Joins on Entity Joins are not rendered into SQL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.5
    • Fix Version/s: 5.2.6, 5.1.4
    • Component/s: hibernate-core
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true
    • Sprint:

      Description

      When having a query like the following, the sql is missing the join fragment for child join nodes of an entity join leading to an SQL error.

      SELECT c.property
      FROM A a
      LEFT JOIN B b ON a.x = b.x
      LEFT JOIN b.c
      

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: