Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1376

Certain EJBQL queries have mismatched table aliases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0RC2
    • 3.0RC3
    • Core Library
    • None

    Description

      On some EJBQL queries, the wrong table aliases are being use to refer to columns. A similar issue was solved earlier in CAY-1114. This problem seems to occur when EJBQLTranslationContext.getTableAlias() is called on relationships that span database schemas.

      Attachments

        1. ejbqlGroupBy.patch
          1 kB
          Dave Dombrosky
        2. jointEntityNamesGenerationFix-mismatchedAliases.patch
          6 kB
          Ksenia Khailenko
        3. testGroupByChainedJoins.patch
          0.9 kB
          Dave Dombrosky
        4. fixGroupByChainedJoins.patch
          1 kB
          Dave Dombrosky

        Activity

          People

            antidote Andrey Razumovsky
            shentalus Dave Dombrosky
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: