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 C55B74AB2 for ; Wed, 25 May 2011 19:54:30 +0000 (UTC) Received: (qmail 34128 invoked by uid 500); 25 May 2011 19:54:30 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 34103 invoked by uid 500); 25 May 2011 19:54:30 -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 34095 invoked by uid 99); 25 May 2011 19:54:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 May 2011 19:54:30 +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 19:54:28 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5DAACDE8F0 for ; Wed, 25 May 2011 19:53:47 +0000 (UTC) Date: Wed, 25 May 2011 19:53:47 +0000 (UTC) From: "Jeremy Bauer (JIRA)" To: dev@openjpa.apache.org Message-ID: <143870028.43099.1306353227363.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 X-Virus-Checked: Checked by ClamAV on apache.org 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.1.0, 2.0.1, 2.0.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