[ 
https://issues.apache.org/jira/browse/OLINGO-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ian updated OLINGO-1400:
------------------------
     Flags: Patch
    Labels: pull-request-available  (was: )

> 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
>            Priority: Trivial
>              Labels: pull-request-available
>          Time Spent: 10m
>  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)

Reply via email to