Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 55388 invoked from network); 1 Mar 2009 21:07:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2009 21:07:34 -0000 Received: (qmail 38614 invoked by uid 500); 1 Mar 2009 21:07:33 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 38580 invoked by uid 500); 1 Mar 2009 21:07:33 -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 38569 invoked by uid 99); 1 Mar 2009 21:07:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Mar 2009 13:07:33 -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; Sun, 01 Mar 2009 21:07:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A754C234C48C for ; Sun, 1 Mar 2009 13:07:12 -0800 (PST) Message-ID: <1652737340.1235941632670.JavaMail.jira@brutus> Date: Sun, 1 Mar 2009 13:07:12 -0800 (PST) From: "Michael Dick (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Resolved: (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 ] Michael Dick resolved OPENJPA-898. ---------------------------------- Resolution: Fixed Fix Version/s: (was: 2.0.0-M1) 1.3.0 Some of the users of the 1.2.x and 1.0.x are conservative about changes, especially without a testcase. For now we'll resolve this issue in the released branches only. > 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: 1.3.0, 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.