1 Reply Latest reply on Dec 3, 2018 3:53 PM by Ramesh Reddy

    Teiid Spring Boot-Multiple DB acces via ODATA

    ABHILASH ASOKAN Newbie

      I would like to configure multiple databases in teiid spring and  need to know how to access via ODATA.

      For Ex:  Suppose i have same table name say table 1 in DB1 and DB2, how i can differentiate ODATA urls? Please assist

        • 1. Re: Teiid Spring Boot-Multiple DB acces via ODATA
          Ramesh Reddy Master

          Right now Teiid Spring Boot is designed either to work with one single source to expose the OData layer, or you can define multiple sources, but you would need to define the JPA layer that you want to expose in Entity models then that would be exposed in the OData Layers. i.e. You have to define entity for each Table from every data source, then OData will be for that Entity definitions.

           

          I may change this model soon, but no ETA on it.