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 6F6951030B for ; Fri, 23 Aug 2013 14:59:06 +0000 (UTC) Received: (qmail 54725 invoked by uid 500); 23 Aug 2013 14:59:05 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 54674 invoked by uid 500); 23 Aug 2013 14:59:04 -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 54229 invoked by uid 99); 23 Aug 2013 14:59:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Aug 2013 14:59:03 +0000 Date: Fri, 23 Aug 2013 14:59:03 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OPENJPA-2414) FinderCache does not consider active Fetch Groups/FetchPlan added Fields 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-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748605#comment-13748605 ] ASF subversion and git services commented on OPENJPA-2414: ---------------------------------------------------------- Commit 1516873 from [~fyrewyld] in branch 'openjpa/branches/2.2.x' [ https://svn.apache.org/r1516873 ] OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields > FinderCache does not consider active Fetch Groups/FetchPlan added Fields > ------------------------------------------------------------------------ > > Key: OPENJPA-2414 > URL: https://issues.apache.org/jira/browse/OPENJPA-2414 > Project: OpenJPA > Issue Type: Bug > Components: kernel > Affects Versions: 2.3.0, 2.2.3 > Reporter: Jody Grassel > Assignee: Jody Grassel > > The FinderCache retains a Map, associating a ClassMapping with a FinderQuery. However, this cache does not factor in the characteristics of the FetchPlan that was active when a mapping is created, nor does it factor them to determine if a cache hit is appropriate. This causes the find() operation to perform the same SQL as the first time it was executed, regardless of changes to the active FetchPlan afterwards. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira