From dev-return-8569-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Wed Jul 02 19:52:36 2008 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 90965 invoked from network); 2 Jul 2008 19:52:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2008 19:52:36 -0000 Received: (qmail 57324 invoked by uid 500); 2 Jul 2008 19:52:37 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 57305 invoked by uid 500); 2 Jul 2008 19:52:37 -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 57294 invoked by uid 99); 2 Jul 2008 19:52:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 12:52:37 -0700 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, 02 Jul 2008 19:51:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 39D8B234C14D for ; Wed, 2 Jul 2008 12:51:45 -0700 (PDT) Message-ID: <1663650696.1215028305235.JavaMail.jira@brutus> Date: Wed, 2 Jul 2008 12:51:45 -0700 (PDT) From: "Pinaki Poddar (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Resolved: (OPENJPA-647) Dynamic update to DataCacheTimeout property is not updated in the ClassMetadata In-Reply-To: <1253834434.1214850945206.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-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pinaki Poddar resolved OPENJPA-647. ----------------------------------- Resolution: Fixed SVN Revision: 673476 > Dynamic update to DataCacheTimeout property is not updated in the ClassMetadata > ------------------------------------------------------------------------------- > > Key: OPENJPA-647 > URL: https://issues.apache.org/jira/browse/OPENJPA-647 > Project: OpenJPA > Issue Type: Bug > Components: datacache > Affects Versions: 1.1.0 > Environment: OpenJPA 1.1.0 > version id: openjpa-1.1.0-r422266:656510 > Apache svn revision: 422266:656510 > os.name: Windows XP > os.version: 5.1 > os.arch: x86 > java.version: 1.6.0_05 > java.vendor: BEA Systems, Inc. > Reporter: Sandeep Shrivastava > Assignee: Pinaki Poddar > Original Estimate: 24h > Remaining Estimate: 24h > > The org.apache.openjpa.meta.ClassMetaData caches the value of the DataCacheTimeout when it is first accessed. On a subsequent update of the OpenJPAConfiguration's property this cached value is not cleared and the ClassMetaData instances in the repository that have initialized the DataCacheTimeout from either the parent class or the global default continue to use the old value. We need to build smarts in this class so that the configuration cache can be cleared on an update and this property reflects true dynamic behaviour. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.