OpenJPA
  1. OpenJPA
  2. OPENJPA-1533

JPA2 select math mix with aggregate reports syntax error

    Details

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

        Activity

        Donald Woods made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Donald Woods made changes -
        Fix Version/s 2.0.0-beta2 [ 12314802 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Fix Version/s 2.0.1 [ 12314532 ]
        Fix Version/s 2.1.0 [ 12314542 ]
        Affects Version/s 2.0.0 [ 12314019 ]
        Affects Version/s 2.0.1 [ 12314532 ]
        Affects Version/s 2.1.0 [ 12314542 ]
        Catalina Wei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.0 [ 12314019 ]
        Fix Version/s 2.0.1 [ 12314532 ]
        Fix Version/s 2.1.0 [ 12314542 ]
        Resolution Fixed [ 1 ]
        Catalina Wei created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development