openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim McConnell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-1213) query.setParameter() behaviour
Date Fri, 31 Jul 2009 06:08:15 GMT

     [ 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.


Mime
View raw message