You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Chandan V.A (JIRA)" <ji...@apache.org> on 2014/11/23 08:38:12 UTC

[jira] [Closed] (OLINGO-495) JPARelationship inheritance is not supported

     [ https://issues.apache.org/jira/browse/OLINGO-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chandan V.A closed OLINGO-495.
------------------------------
       Resolution: Duplicate
    Fix Version/s: V2 2.0.2
         Assignee: Chandan V.A

> JPARelationship inheritance is not supported
> --------------------------------------------
>
>                 Key: OLINGO-495
>                 URL: https://issues.apache.org/jira/browse/OLINGO-495
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.0
>            Reporter: Björn Wagner
>            Assignee: Chandan V.A
>             Fix For: V2 2.0.2
>
>
> When a relationship of a JPA entity is inherited from the super class of that entity, Olingo can't resolve it. The reason is located in JPAEntityParser::parse2EdmNavigationValueMap:176. Should that call go to getMethod(...) instead of getDeclaredMethod(…)?
> The workaround is to override the getter in the subclass to call the getter in the super class. 
> Any chance this can get fixed?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)