Björn Wagner created OLINGO-495:
-----------------------------------
Summary: 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)