From dev-return-10456-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Wed Feb 11 08:15:25 2009 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 72109 invoked from network); 11 Feb 2009 08:15:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2009 08:15:24 -0000 Received: (qmail 61456 invoked by uid 500); 11 Feb 2009 08:15:23 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 61296 invoked by uid 500); 11 Feb 2009 08:15:22 -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 61266 invoked by uid 99); 11 Feb 2009 08:15:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Feb 2009 00:15: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; Wed, 11 Feb 2009 08:15:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9B759234C4B1 for ; Wed, 11 Feb 2009 00:14:59 -0800 (PST) Message-ID: <1519566078.1234340099635.JavaMail.jira@brutus> Date: Wed, 11 Feb 2009 00:14:59 -0800 (PST) From: "Pinaki Poddar (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12672546#action_12672546 ] Pinaki Poddar commented on OPENJPA-898: --------------------------------------- Can you run the test with latest change and confirm if the hints are avaialble with NamedNativeQuery > 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 > > 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.