Mark one of the beans as primary
@Primary
@Bean
public EntityManagerFactory entityManagerFactory() {
}
https://stackoverflow.com/questions/41881759/spring-boot-jpa-multiple-datasource-error
Mark one of the beans as primary
@Primary
@Bean
public EntityManagerFactory entityManagerFactory() {
}
https://stackoverflow.com/questions/41881759/spring-boot-jpa-multiple-datasource-error