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/06 13:53:34 UTC

[jira] [Updated] (OLINGO-481) Adds support for MappedSuperclass in JPA reference scenarios

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

Giacomo Pati updated OLINGO-481:
--------------------------------
    Attachment: 0001-Adds-support-for-MappedSuperclass-in-JPA-reference-s.patch

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