Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 37233 invoked from network); 31 Jul 2009 06:08:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Jul 2009 06:08:41 -0000 Received: (qmail 2478 invoked by uid 500); 31 Jul 2009 06:08:39 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 2395 invoked by uid 500); 31 Jul 2009 06:08:39 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 2385 invoked by uid 99); 31 Jul 2009 06:08:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 06:08:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jul 2009 06:08:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 18684234C046 for ; Thu, 30 Jul 2009 23:08:15 -0700 (PDT) Message-ID: <1834074175.1249020495092.JavaMail.jira@brutus> Date: Thu, 30 Jul 2009 23:08:15 -0700 (PDT) From: "Tim McConnell (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1213) query.setParameter() behaviour In-Reply-To: <303783660.1249011134805.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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.