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

EJBQL grammar needs to be updated to relfect JPA specification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • query
    • None

    Description

      when used in subquery, SELECT has different grammar than in top most query. SELECT NEW is not allowed. FROM in subuqery has different syntax than in top most query. For example "FROM d.employees as e " in subquery where it would be invalid in top query. Expression syntax in HAVING clause needs to allow "HAVING min(e.salary) > 10 " is valid provided that e.salary is a grouping field.

      Attachments

        1. openjpa-15.openjpa-kernel.patch
          12 kB
          Catalina Wei

        Activity

          People

            fancy Catalina Wei
            wisneskid David Wisneski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: