[
https://issues.apache.org/jira/browse/OLINGO-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kiran G updated OLINGO-411:
---------------------------
Attachment: Employee.java
metadata.xml
There is a problem when the number of Relationship/Association names when there
are multiple relationships to the same entity.
[See subordinates, mentor and mentee NavigationProperty in the attached
metadata.xml, they all use the same Relationship name]
Also, ToRole name doesn't scale up beyond 2.
[See the FromRole and ToRole for mentor and mentee, which should have used
Employee3 and Employee4 as names]
Regards,
Kiran
> [olingo-jpa] Error on $expand for Self joins
> --------------------------------------------
>
> Key: OLINGO-411
> URL: https://issues.apache.org/jira/browse/OLINGO-411
> Project: Olingo
> Issue Type: Bug
> Components: odata2-jpa
> Affects Versions: V2 2.0.0
> Reporter: Kiran G
> Assignee: Chandan V.A
> Fix For: V2 2.0.2
>
> Attachments: Employee.java, metadata.xml, metadata.xml,
> olingo-bug-association.zip, olingo-bug.zip
>
>
> If there is a self join in the JPA entity then the $expand fails. Also, the
> relationship names seem to be duplicated for both side of relationship.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)