Maxim Solodovnik created OPENJPA-2982:
-----------------------------------------

             Summary: getProperties() caches map missing EM-level defaults
                 Key: OPENJPA-2982
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2982
             Project: OpenJPA
          Issue Type: Sub-task
          Components: jpa
    Affects Versions: 4.2.0
            Reporter: Maxim Solodovnik
             Fix For: 4.2.0


Discussion thread: 
https://github.com/apache/openjpa/pull/144#discussion_r3683005250


**(low)** The old else branch seeding `getProperties()` from a throwaway EM was 
removed, so the result now depends on whether an EM was created before the 
first call - and since the map is cached, the EM-level defaults are then 
permanently missing. Intentional, or should the cache be invalidated once 
`emEmptyPropsProperties` becomes available?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to