Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1979

Regression for non-standard joins with constant column values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M1, 2.0.0
    • Fix Version/s: 2.3.0
    • Component/s: jdbc, kernel
    • Labels:
      None

      Description

      The non-standard join can use constant column values by enclosing them in single-quote character. This behavior is regressed. The likely cause of this regression is new delimiting support for schema elements introduced in JPA 2.0. The constant column value used to be detected during schema definition based on the assumption of the name being enclosed in single-quote. Due to introduction of delimiting capability, the constant value is now enclosed in double-quote followed by a single-quote.

      The visible effect is failure to define schema for non-standard join with constant values.

        Attachments

        1. OPENJPA-1979.patch.1.txt
          1 kB
          Pinaki Poddar
        2. Test-1979.zip
          10 kB
          Pinaki Poddar

          Issue Links

            Activity

              People

              • Assignee:
                ppoddar@apache.org Pinaki Poddar
                Reporter:
                ppoddar@apache.org Pinaki Poddar
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: