Ian created OLINGO-1400:
---------------------------

             Summary: remove duplicate call to provider.getEntityContainer() in 
EdmProviderImpl.createEntityContainer
                 Key: OLINGO-1400
                 URL: https://issues.apache.org/jira/browse/OLINGO-1400
             Project: Olingo
          Issue Type: Bug
          Components: odata4-commons
    Affects Versions: (Java) V4 4.6.0
            Reporter: Ian


EdmProviderImpl.createEntityContainer calls provider.getEntityContainer() 
twice.  In our implementation provider.getEntityContainer() ends up making 
database calls twice so there is a small performance hit.

I will provide a pull request with the recommended fix.

Locale workaround is the do caching and ignore the second call and just return 
the cached variables.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to