baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.75k stars 1.19k forks source link

我这边验证了,是因为我升级了druid版本,由之前的1.2.16升级为1.2.17报错 #495

Closed 1065609785 closed 1 year ago

1065609785 commented 1 year ago

Enviroment

JDK Version(required): JDK17

SpringBoot Version(required):
springboot3.0.6

dynamic-datasource-spring-boot-starter Version(required): 3.6.1 druid Version(optional): 1.2.17

Describe what happened

我这边验证了,是因为我升级了druid版本,由之前的1.2.16升级为1.2.17后,报错

Expected Result:

132d3fb80b281e2e55593e7f0defcc0b

richwxd commented 1 year ago

druid 1.2.17 修改了内部的一个BUG,DruidDataSource.copyFromPropety --> DruidDataSource.copyFromProperties 需要dynamic datasource 更新版本或者用反射做一下方法上面的兼容

huayanYu commented 1 year ago

等待4.0.0