Hibernate using multiple databases

后端 未结 9 2091
死守一世寂寞
死守一世寂寞 2020-12-05 05:25

Someone know how to add a another datasource in hibernate configuration and how to configure Spring to that datasource its autoinject in my respective DAO?

This is m

9条回答
  •  [愿得一人]
    2020-12-05 06:15

    I had another way to offer which works only with java classes and annotations. Check it out at this SO post. https://stackoverflow.com/a/61232164/5681666

提交回复
热议问题