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

Andrei Melis commented on OLINGO-172:
-------------------------------------

There is one more scenario when Associations are not created. It can be 
reproduced by removing from the sample 
[Manufacturer|https://github.com/apache/olingo-odata2/blob/master/odata2-sample/cars-jpa-archetype/src/main/resources/archetype-resources/src/main/java/model/Manufacturer.java]
 class the annotation:
{noformat}
@Column(name = "ID")
{noformat}

> NavigationProperty not appear in $metadata
> ------------------------------------------
>
>                 Key: OLINGO-172
>                 URL: https://issues.apache.org/jira/browse/OLINGO-172
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>            Reporter: Thiago Assis
>            Assignee: Chandan V.A
>             Fix For: V2 1.3.0
>
>         Attachments: Screen Shot 2014-02-24 at 22.08.41.png, 
> Transaction.java, TransactionItem.java, persistence.xml
>
>
> When i access my odata $metadata endpoint the NavigationPropety and the 
> entity relationships not appear.
> This is normal ? i am using Apache Olingo with JPA processor, and my JPA 
> entities are normally annotated.
> Attached this issue is a .net endpoint screenshot with this properties.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to