[
https://issues.apache.org/jira/browse/OLINGO-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chandan V.A updated OLINGO-182:
-------------------------------
Component/s: odata2-jpa
> Use my own custom JPAEdmNameBuilder
> -----------------------------------
>
> Key: OLINGO-182
> URL: https://issues.apache.org/jira/browse/OLINGO-182
> Project: Olingo
> Issue Type: Improvement
> Components: odata2-jpa
> Reporter: Thiago Assis
>
> Create a JPAEdmNameBuilder interface and set the implementation ai
> ODataJPAContext at ODataJPAServiceFactory initialize method.
> eq:
> @Override
> public ODataJPAContext initializeODataJPAContext() throws
> ODataJPARuntimeException {
> ODataJPAContext oDataJPAContext = null;
> try {
>
> ...
> oDataJPAContext = getODataJPAContext();
> oDataJPAContext.setJPAEdmNameBuilder(new
> MyJPAEdmNameBuilder);
> ...
> } catch (Throwable throwable) {
>
> ODataJPARuntimeException.throwException(ODataJPARuntimeException.GENERAL,
> throwable);
> }
> return oDataJPAContext;
> }
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)