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

Incomplete ValueMapDiscriminatorStrategy cache

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.3, 3.1.1
    • Component/s: None
    • Labels:
      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.patch
          8 kB
          Will Dazey

          Activity

            People

            • Assignee:
              dazeydev Will Dazey
              Reporter:
              dazeydev Will Dazey
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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