Giacomo Pati created OLINGO-481:
-----------------------------------
Summary: Adds support for MappedSuperclass in JPA reference
scenarios
Key: OLINGO-481
URL: https://issues.apache.org/jira/browse/OLINGO-481
Project: Olingo
Issue Type: Improvement
Components: odata2-jpa
Affects Versions: V2 2.0.1
Reporter: Giacomo Pati
Fix For: V2 2.0.2
The attached patch fixes an issue in JPA reference scenario where in the
Metadata Document properties of @MappedSubclasses which represent collection of
entities are shown as NavigationProperties but could not be used in a $expand
resulting in a java.lang.NoSuchMethodException :
org.apache.olingo.odata2.jpa.processor.ref.model.Customer.getOrders() because
of the use of getDeclaredMethod instead of getMethod.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)