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

Numeric non-standard joins with constant column values broken

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0
    • Fix Version/s: None
    • Component/s: jdbc, kernel
    • Labels:
      None

      Description

      The non-standard join can use a numeric value, rather than a column or string constant. 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.

      While the string constant (single quote) has been fixed, the numeric constant (would not have single quote) is still broken.

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: