Spring Boot DataSourceBuilder with HikariDataSource throws error
I am trying to learn different ways of creating DataSource.
In this example https://github.com/ivoronline/springboot_db_datasource_create_DataSourceBuilder i have used DriverManagerDataSource.class to successfully create Datasource as shown below
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.