OpenJPA
  1. OpenJPA
  2. OPENJPA-647

Dynamic update to DataCacheTimeout property is not updated in the ClassMetadata

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: datacache
    • Labels:
      None
    • 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.

      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.

        Activity

        Hide
        Pinaki Poddar added a comment -

        SVN Revision: 673476

        Show
        Pinaki Poddar added a comment - SVN Revision: 673476

          People

          • Assignee:
            Pinaki Poddar
            Reporter:
            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

                Development