Configuring a DataSource Programmatically in Spring Boot | Baeldung
Learn how to configure a Spring Boot DataSource programmatically, thereby side-stepping Spring Boot's automatic DataSource configuration algorithm.