[
https://issues.apache.org/jira/browse/OLINGO-532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14275147#comment-14275147
]
Chandan V.A edited comment on OLINGO-532 at 1/13/15 12:47 PM:
--------------------------------------------------------------
The factory org.apache.olingo.odata2.jpa.processor.api.factory.JPAAccessFactory
is enhanced with the method getJPAEdmMappingInstance to instantiate an
implementation of interface
org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmMapping. The returned
implementation can be used for creating mapping between extended properties and
the JPA attributes.
Usage - How to get an instance of JPA Edm Mapping.
JPAEdmMapping mapping =
ODataJPAFactory.createFactory().getJPAAccessFactory().getJPAEdmMappingInstance()
Commit - http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/bdd755cb
Regards
Chandan
was (Author: chandan.v.a):
The factory org.apache.olingo.odata2.jpa.processor.api.factory.JPAAccessFactory
is enhanced with the method getJPAEdmMappingInstance to instantiate an
implementation of interface
org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmMapping. The returned
implementation can be used for creating mapping between extended properties and
the JPA attributes.
Commit - http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/bdd755cb
Regards
Chandan
> Expose JPAEdmMappingImpl in API project
> ---------------------------------------
>
> Key: OLINGO-532
> URL: https://issues.apache.org/jira/browse/OLINGO-532
> Project: Olingo
> Issue Type: New Feature
> Components: odata2-jpa
> Affects Versions: V2 2.0.2
> Reporter: Chandan V.A
> Assignee: Chandan V.A
> Fix For: V2 2.0.2
>
>
> JPAEdmMappingImpl.java is present in odata2-jpa-core module. Currently it is
> not possible, In case if one needs to extend the metadata that was generated
> by JPA Processor and map the extended properties to JPA attributes. To enable
> such a use case the JPAEdmMappingImpl classs which implements JPAEdmMapping
> needs to exposed in odata2-jpa-api module.
> Regards
> Chandan
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)