openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandeep Shrivastava (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-647) Dynamic update to DataCacheTimeout property is not updated in the ClassMetadata
Date Mon, 30 Jun 2008 18:35:45 GMT
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


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.


Mime
View raw message