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 14:49:00 UTC

[jira] [Created] (OLINGO-1487) ODataJPAFactory.IMPLEMENTATION should be settable

Manuel Blechschmidt created OLINGO-1487:
-------------------------------------------

             Summary: 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


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)