openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OPENJPA-1995) JPQL Queries do not support mixing positional and named parameters
Date Tue, 10 May 2011 02:41:03 GMT
JPQL Queries do not support mixing positional and named parameters
------------------------------------------------------------------

                 Key: OPENJPA-1995
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1995
             Project: OpenJPA
          Issue Type: Bug
          Components: jpa, query
            Reporter: Michael Dick
            Assignee: Michael Dick
            Priority: Minor


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. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message