[ 
https://issues.apache.org/jira/browse/OLINGO-32?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13807763#comment-13807763
 ] 

Georgi commented on OLINGO-32:
------------------------------

It would be nice if the EDM annotations could be used as alternative 
to/complimentary to the JPA EDM Mapping model XML. The JPA and EDM annotations 
collectively would mean a single place to manage metadata.
Chandan,  would that work for the JPA stack?

> Introduce (Java) Annotations for definition of EDM
> --------------------------------------------------
>
>                 Key: OLINGO-32
>                 URL: https://issues.apache.org/jira/browse/OLINGO-32
>             Project: Olingo
>          Issue Type: New Feature
>            Reporter: Michael Bolz
>            Priority: Minor
>
> The idea is to create your model as POJOs which then can be annotated with 
> special {{@EdmXXX}} (Java) annotations to define the EDM for an OData Service.
> Based on these annotation then the {{edmx}} document ({{$metadata}}) can be 
> generated as well as a generic {{Processor}} ({{ODataSingleProcessor}}) for 
> e.g. {{JSON}} can be written.
> As initial contribution and starting point for discussions about this feature 
> a branch with name {{PocEdmAnnotationsExtension}} is created with a basic 
> Proof of Concept.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to