Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-495

JPARelationship inheritance is not supported

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • V2 2.0.0
    • V2 2.0.2
    • odata2-jpa
    • None

    Description

      When a relationship of a JPA entity is inherited from the super class of that entity, Olingo can't resolve it. The reason is located in JPAEntityParser::parse2EdmNavigationValueMap:176. Should that call go to getMethod(...) instead of getDeclaredMethod(…)?

      The workaround is to override the getter in the subclass to call the getter in the super class.
      Any chance this can get fixed?

      Attachments

        Issue Links

          Activity

            People

              chandan.v.a Chandan V.A
              bjnwagner Björn Wagner
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: