Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 22611 invoked from network); 23 Feb 2009 18:10:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Feb 2009 18:10:23 -0000 Received: (qmail 57496 invoked by uid 500); 23 Feb 2009 18:10:23 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 57468 invoked by uid 500); 23 Feb 2009 18:10:23 -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 57454 invoked by uid 99); 23 Feb 2009 18:10:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Feb 2009 10:10:22 -0800 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; Mon, 23 Feb 2009 18:10:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2B8D9234C4AB for ; Mon, 23 Feb 2009 10:10:02 -0800 (PST) Message-ID: <577911191.1235412602177.JavaMail.jira@brutus> Date: Mon, 23 Feb 2009 10:10:02 -0800 (PST) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-898) hints don't work for NamedNativeQuery In-Reply-To: <239179436.1233775079625.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-898: --------------------------------- Attachment: OPENJPA-898-branches10x.patch patch for 1.0.x > hints don't work for NamedNativeQuery > ------------------------------------- > > Key: OPENJPA-898 > URL: https://issues.apache.org/jira/browse/OPENJPA-898 > Project: OpenJPA > Issue Type: Bug > Affects Versions: 1.2.0 > Reporter: Jianfeng Mao > Assignee: Michael Dick > Fix For: 2.0.0-M1, 2.0.0 > > Attachments: OPENJPA-898-branches10x.patch, OPENJPA-898-branches12x.patch, OPENJPA-898-branches13x.patch > > > Hints defined for a named native query such as the one below don't get loaded, however, if changed it to @NamedQuery, the hints get loaded. > > @NamedNativeQuery(name="GetMemberInfo", > query="CALL MEMBERSUB", > hints= { > @QueryHint(name="openjpa.hint.u2sub.numberofpara", value="2"), > @QueryHint(name="openjpa.hint.u2sub.output.para", value ="2") > } > ) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.