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

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

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

Giacomo Pati commented on OLINGO-495:
-------------------------------------

Hi Björn

This issue has already been reported by me as OLINGO-481
<https://issues.apache.org/jira/browse/OLINGO-481>. So far nobody has
reviewed it yet.

Ciao





-- 
Giacomo


> 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
>
> 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)