You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Manuel Blechschmidt (Jira)" <ji...@apache.org> on 2020/10/14 15:07:00 UTC
[jira] [Commented] (OLINGO-1487) ODataJPAFactory.IMPLEMENTATION
should be settable
[ https://issues.apache.org/jira/browse/OLINGO-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17213987#comment-17213987 ]
Manuel Blechschmidt commented on OLINGO-1487:
---------------------------------------------
Pull request is here: https://github.com/apache/olingo-odata2/pull/34
> ODataJPAFactory.IMPLEMENTATION should be settable
> -------------------------------------------------
>
> Key: OLINGO-1487
> URL: https://issues.apache.org/jira/browse/OLINGO-1487
> Project: Olingo
> Issue Type: New Feature
> Components: odata2-jpa
> Affects Versions: V2 2.0.11
> Reporter: Manuel Blechschmidt
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The variable org.apache.olingo.odata2.jpa.processor.api.factory.ODataJPAFactory.IMPLEMENTATION is private static final and therefore it can't be changed.
> I will create a pull request to make it changable with a static block in another class like:
> {code:java}
> static {
> org.apache.olingo.odata2.jpa.processor.api.factory.ODataJPAFactory.setImplementation("my.package.MyODataJPAFactoryImpl");
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)