OpenJPA
  1. OpenJPA
  2. OPENJPA-1979

Regression for non-standard joins with constant column values

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Pinaki Poddar
              Reporter:
              Pinaki Poddar
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development