[
https://issues.apache.org/jira/browse/OLINGO-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222337#comment-14222337
]
Chandan V.A commented on OLINGO-481:
------------------------------------
Hi,
Thanks for providing the patch. I could not apply the patch directly.
Nevertheless i fixed the issue as per the patch.
Commit Id -
https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=847df0f2647c83773432e25dedfc7922e79425db
Regards
Chandan
> 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
> Labels: patch
> Fix For: V2 2.0.2
>
> Attachments:
> 0001-Adds-support-for-MappedSuperclass-in-JPA-reference-s.patch
>
>
> 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)