Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C2094042 for ; Wed, 25 May 2011 21:38:28 +0000 (UTC) Received: (qmail 81400 invoked by uid 500); 25 May 2011 21:38:28 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 81248 invoked by uid 500); 25 May 2011 21:38:28 -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 81240 invoked by uid 99); 25 May 2011 21:38:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 21:38:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 21:38:27 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 50D67DF0B3 for ; Wed, 25 May 2011 21:37:47 +0000 (UTC) Date: Wed, 25 May 2011 21:37:47 +0000 (UTC) From: "Jeremy Bauer (JIRA)" To: dev@openjpa.apache.org Message-ID: <1329738843.43322.1306359467312.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <143870028.43099.1306353227363.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (OPENJPA-2007) Setting query hint "openjpa.FetchPlan.Isolation" results in misleading warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13039349#comment-13039349 ] Jeremy Bauer commented on OPENJPA-2007: --------------------------------------- Still working on a jUnit for this issue. It is quirky since the behavior change is primarily the absence of a warning in the log. > Setting query hint "openjpa.FetchPlan.Isolation" results in misleading warning > ------------------------------------------------------------------------------ > > Key: OPENJPA-2007 > URL: https://issues.apache.org/jira/browse/OPENJPA-2007 > Project: OpenJPA > Issue Type: Bug > Components: jdbc > Affects Versions: 2.0.0, 2.0.1, 2.1.0, 2.2.0 > Reporter: Jeremy Bauer > Assignee: Jeremy Bauer > Priority: Minor > > Setting query hint "openjpa.FetchPlan.Isolation" on a query results in this misleading warning being printed in the log: > WARN [main] openjpa.Runtime - "openjpa.FetchPlan.Isolation" is not a supported query hint. May be you meant "openjpa.FetchPlan.LRSSize"? > The supported hint map in JDBCPersistenceProductDerivation adds key openjpa.FetchPlan.TransactionIsolation, which is incorrect. It should be adding openjpa.FetchPlan.Isolation instead. > Note: Even though a warning is issued, provided the database supports query-level isolation level switching, the hint handler does apply the isolation level to the query. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira