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

Incomplete ValueMapDiscriminatorStrategy cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • None
    • 3.2.3
    • None
    • None

    Description

      There exists the possibility that the discriminator class cache in ValueMapDiscriminatorStrategy was originally created before the server fully loaded all classes. If this happens, the cache is incomplete and needs to be rebuilt. A simple enough strategy would be to just try rebuilding the cache, before giving up and throwing a CNFE, and check again.

      Attachments

        1. OJ2767_2.2.x_v4_p2.patch
          2 kB
          Will Dazey
        2. OJ2767_2.2.x_v4.patch
          8 kB
          Will Dazey

        Activity

          People

            dazeydev Will Dazey
            dazeydev Will Dazey
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m