Closed dandanheng closed 5 years ago
模仿示例,写了个druid的动态刷新数据源实现. DataSource更新成功,但查询的时候连接的还是旧数据源.是因为druid的问题吗
应该和druid没啥关系,如果实现正确的话,在datasource层就已经换了一个了,建议再debug一下
谢谢,已经解决,demo里面的刷新bind前缀没有看清.
@dandanheng 大佬有demo 吗?我弄了好久没有成功
模仿示例,写了个druid的动态刷新数据源实现. DataSource更新成功,但查询的时候连接的还是旧数据源.是因为druid的问题吗