You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Will Dazey (JIRA)" <ji...@apache.org> on 2019/01/07 16:36:00 UTC

[jira] [Created] (OPENJPA-2767) Incomplete ValueMapDiscriminatorStrategy cache

Will Dazey created OPENJPA-2767:
-----------------------------------

             Summary: Incomplete ValueMapDiscriminatorStrategy cache 
                 Key: OPENJPA-2767
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2767
             Project: OpenJPA
          Issue Type: Bug
            Reporter: Will Dazey
            Assignee: Will Dazey
             Fix For: 2.2.3


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.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)