Use two datasources with jdbc template

前端 未结 2 756
情话喂你
情话喂你 2021-01-19 04:56

So, I\'ve worked on a spring boot project and now I am working on the database. I thought that it would be best to set two users for the database:

one that has acce

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-19 05:11

    First you should config two data source. Connect different data sources according to different operations.

提交回复
热议问题