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

Tim McConnell updated OPENJPA-1213:
-----------------------------------

    Attachment: OPENJPA-1212-TESTCASE.patch

Past releases of OpenJPA (e.g., 1.2.x) allowed the followed parameter 
substitution, but OpenJPA 2.0 does not. The attached testcase demonstrates this 
failure.

Query query = em.createQuery("SELECT d from Department d");
query.setParameter(1, DEPT_NAME);


> query.setParameter() behaviour 
> -------------------------------
>
>                 Key: OPENJPA-1213
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1213
>             Project: OpenJPA
>          Issue Type: Sub-task
>    Affects Versions: 1.2.2, 2.0.0
>            Reporter: Tim McConnell
>            Assignee: Tim McConnell
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-1212-TESTCASE.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to