Multiple DataSources in Spring Boot 4 with Spring Data JPA
Two databases in one Spring Boot 4.1 application: a DataSource, Flyway, EntityManagerFactory and transaction manager per database, package-based repository scanning, and every way it fails, each run and quoted from a committed transcript.