[ https://issues.apache.org/jira/browse/OLINGO-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16938627#comment-16938627 ]
Ian commented on OLINGO-1400: ----------------------------- Added pull request [[https://github.com/apache/olingo-odata4/pull/56|http://example.com]|https://github.com/apache/olingo-odata4/pull/56] > 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)