You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2011/05/10 15:32:47 UTC

[jira] [Resolved] (OPENJPA-1995) JPQL Queries do not support mixing positional and named parameters

     [ https://issues.apache.org/jira/browse/OPENJPA-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Dick resolved OPENJPA-1995.
-----------------------------------

    Resolution: Fixed

> 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