Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-647

Dynamic update to DataCacheTimeout property is not updated in the ClassMetadata

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • datacache
    • None
    • 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.

    Description

      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.

      Attachments

        Activity

          People

            ppoddar@apache.org Pinaki Poddar
            sandeeps@bea.com Sandeep Shrivastava
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified