Relative Content

Tag Archive for javaspringdatasourceboot

Spring Boot multiple datasources – Is there a simpler way?

I am trying to learn how to use multiple Datasources in Spring Boot and the examples I am seeing are so complex. From “Spring Boot” autoconfiguration you now suddenly have to manually configure everything: you have to define packages with Entities and Packages with Repositories and you have to manually create TransactionManager & EntityManagerFactoryBuilder.