spring通过AbstractRouteDataSource 配置动态数据源
1.通过Bean.xml配置数据库的配置文件 DynamicDataSource.propertiesUser=rootPassword=roottest.Url=jdbc:mysql://localhost:3306/testDriver=com.mysql.jdbc.Driverhotel.Url=jdbc:mysql://localhost:3306/hotel...
原创
2019-07-17 15:37:20 ·
2098 阅读 ·
0 评论