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

Allow comparison for VALUE(e) that maps to basic type

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-M3
    • Component/s: query
    • Labels:
      None

      Description

      Single persisted entity x with embeddable e. e has a map of 3 pairs of Integer keys/values (1/100,2/200,3/300).

      This query should be allowed...
      SELECT e FROM entityTable x JOIN x.mapKeyIntegerEmbed e JOIN e.notMapKeyInteger i WHERE VALUE = 200

      OpenJPA complains that "identifier "i" in "VALUE" operator is not valid in conditional expression. Per JSR 317, section 4.4.4 this operator is optionally allowed.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            fancy Catalina Wei
            Reporter:
            fancy Catalina Wei
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development