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

JPA2 select math mix with aggregate reports syntax error

    Details

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

      Description

      A problem is found in select expression involving math mix with aggregate resulted in syntax error.
      Sample JPQL:
      SELECT SUM(c.age) + SUM(c.userid) FROM CompUser c
      should not get syntax error.

        Attachments

          Activity

            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: