You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "mibo (Jira)" <ji...@apache.org> on 2022/03/06 05:58:00 UTC

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

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

mibo resolved OLINGO-1487.
--------------------------
    Resolution: Fixed

> 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
>            Assignee: mibo
>            Priority: Minor
>             Fix For: V2 2.0.12
>
>          Time Spent: 0.5h
>  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.20.1#820001)