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

JPQL Queries do not support mixing positional and named parameters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: jpa, query
    • Labels:
      None

      Description

      Pinaki mentioned this condition in OPENJPA-1992, opening a separate issue to track the problem.

      The JPA spec indicates that positional and named parameters should not be mixed. From limited testing I believe queries like this do not work on trunk. To be consistent we should throw an exception when such a query is detected and inform the user of what went wrong.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mikedd Michael Dick
                Reporter:
                mikedd Michael Dick
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: