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

JPQL Queries do not support mixing positional and named parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • jpa, query
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: