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

Adds support for MappedSuperclass in JPA reference scenarios

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V2 2.0.1
    • V2 2.0.2
    • odata2-jpa

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              chandan.v.a Chandan V.A
              giacomo Giacomo Pati
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: