You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Chandan V.A (JIRA)" <ji...@apache.org> on 2014/05/14 07:40:14 UTC

[jira] [Resolved] (OLINGO-182) Use my own custom JPAEdmNameBuilder

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

Chandan V.A resolved OLINGO-182.
--------------------------------

    Resolution: Won't Fix

Hi Thiago,
I would like to close this issue. Please open in case you have some comments.

Thanks
Kind regards
Chandan

> 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
>            Assignee: Chandan V.A
>
> 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.2#6252)