Thiago Assis created OLINGO-182:
-----------------------------------

             Summary: Use my own custom JPAEdmNameBuilder
                 Key: OLINGO-182
                 URL: https://issues.apache.org/jira/browse/OLINGO-182
             Project: Olingo
          Issue Type: Improvement
            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)

Reply via email to