Olingo
  1. Olingo
  2. OLINGO-46

IllegalArgumentException: While parsing Embeddable Keys - JPAEntityParser

    Details

      Description

      "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.

        Activity

        Show
        Chandan V.A added a comment - Fixed with commit - http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/commit/570f77e4
        Hide
        ASF subversion and git services added a comment -

        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 <chandan.v.a@sap.com>

        Show
        ASF subversion and git services added a comment - 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 <chandan.v.a@sap.com>

          People

          • Assignee:
            Chandan V.A
            Reporter:
            Chandan V.A
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development