1 Reply Latest reply on Nov 26, 2016 12:19 PM by rareddy

    odata4 navigation

    mirco73

      Hi,

      After implementation of TEIID-4298 it is possibile the reverse navigation using the FK.

       

      Example:

       

      Standard odata4:

      http://services.odata.org/V4/Northwind/Northwind.svc/Categories(7)/Products

       

      Teiid:

      http:/localhost:8080/odata4/NORTHWIND.1/Northwind/Categories(7)/Products_FK_Products_Categories?$format=json

       

      Anyway the following behaviour is still not permitted

       

      Standard odata4:

      http://services.odata.org/V4/Northwind/Northwind.svc/Products(51)/Category/Products

       

      Teiid:

      http://localhost:8080/odata4/NORTHWIND.1/Northwind/Products(51)/Category/Products?$format=json

       

      The message returned is

       

      The property 'Products' must not follow a collection

       

      thanks,

      Mirco

        • 1. Re: odata4 navigation
          rareddy

          That would only possible of Products and Categories implemented as in product to category implemented as 1 to 1 relation, and reverse is 1 to many, how is it defined your DDL? Still I am not sure Teiid supports that yet. You can re-open the JIRA with these specifics.


          Ramesh..