Background:
Two identical database structure, when the user clicks A button, the page to refresh, all data from A
Cut to A source database, click on the button B, switch to the data source, B page to refresh, all data from B
Currently use AbstractRoutingDataSource, switching data sources, but sometimes after click switch will automatically use the default data source,
Still hope you show just a little big, thank you!