在一个 spring 启动应用程序中读取和写入数据源

Read and Write datasources in one spring boot app

我想在 spring 启动应用程序中具有用于复制目的的读写数据源。是否有关于如何实现此行为的示例?

这对你有帮助

你也可以看看这个blog

这就是我要找的东西http://fedulov.website/2015/10/14/dynamic-datasource-routing-with-spring/