I started with Teiid Spring Boot simple example from the following url: https://github.com/teiid/teiid-spring-boot/blob/master/docs/UserGuide.adoc
It uses two different data source to demonstrate Teiid Spring Boot's capability to interact and fetch data from multiple data sources. However, when I deployed my Teiid Spring Boot component it threw exceptions related to entityManagerFactory.
One of the sites that I came across related to Spring Boot says that in order to define and use multiple data sources I need to assign one as Primary and others as Secondary Data Source, as provide on this page: https://springframework.guru/how-to-configure-multiple-data-sources-in-a-spring-boot-application/
Can someone please confirm if my understanding is correct? If i am required to define Primary and Secondary Data Source?
I am using Spring Boot 2.2.4 and Teiid 1.3.0
Thank you! Purnima Das