Setup multiple DataSources with Spring Boot and Spring Data in PCF Spring Boot 2 with Multiple DataSource Multitenancy: Switching Databases at runtime with Spring Spring JPA – Multiple Databases snicoll/demo-multi-entity-managers