openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1213) query.setParameter() behaviour
Date Fri, 31 Jul 2009 16:53:14 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737595#action_12737595
] 

Craig Russell commented on OPENJPA-1213:
----------------------------------------

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

Ok,I'll take the bait.

What is the setParameter method supposed to do except throw an exception "No such parameter"?


> 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-1213-TESTCASE-2.patch, OPENJPA-1213-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