[
https://issues.apache.org/jira/browse/OLINGO-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
mibo resolved OLINGO-1400.
--------------------------
Fix Version/s: (Java) V4 4.7.0
Resolution: Fixed
> 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
> Assignee: mibo
> Priority: Trivial
> Labels: pull-request-available
> Fix For: (Java) V4 4.7.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)