You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/10/27 07:46:30 UTC

[jira] [Commented] (OLINGO-46) IllegalArgumentException: While parsing Embeddable Keys - JPAEntityParser

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

ASF subversion and git services commented on OLINGO-46:
-------------------------------------------------------

Commit 570f77e4c813538b719a2e5843c4d774f7ae3256 in branch refs/heads/master from [~chandan.v.a]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-olingo-odata2.git;h=570f77e ]

OLINGO-46 Fix for IllegalArgumentException: While parsing Embeddable Keys
- JPAEntityParser

Signed-off-by: Chandan V A <ch...@sap.com>


> IllegalArgumentException: While parsing Embeddable Keys - JPAEntityParser
> -------------------------------------------------------------------------
>
>                 Key: OLINGO-46
>                 URL: https://issues.apache.org/jira/browse/OLINGO-46
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: 1.0.0
>            Reporter: Chandan V.A
>            Assignee: Chandan V.A
>              Labels: odata2-jpa, olingo
>             Fix For: 1.1.0
>
>
> "java.lang.IllegalArgumentException: object is not an instance of declaring class" exception is thrown while executing the method parse2EdmPropertyValueMap @ line 195.
> This is because instead of passing the embeddable instance to method "getProperty" the parent instance (JPA Entity) is passed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)