Jhipster - Configure multiple datasources
问题 I have springBatch App where I was using multiple datasources which I configured as below which is pretty much straight forward. It was working fine. How to use 2 or more databases with spring? Now I had to integrate it to Jhipster project. I did similar kind of configuration in application.yml. I removed auto generated Datasource from application.yml and added configurations similar to above post and injected the primary Datasource in DataBaseConfiguration.java which is Jhipster generated