提交 3b0e88d8 authored 作者: taojinlong's avatar taojinlong

feat: druid 替换 c3p0; 以类加载的方式引入数据源驱动;支持myqsl5.1

上级 356c20f1
...@@ -417,7 +417,7 @@ public class JdbcProvider extends DatasourceProvider { ...@@ -417,7 +417,7 @@ public class JdbcProvider extends DatasourceProvider {
MysqlConfiguration mysqlConfiguration = new Gson().fromJson(datasourceRequest.getDatasource().getConfiguration(), MysqlConfiguration.class); MysqlConfiguration mysqlConfiguration = new Gson().fromJson(datasourceRequest.getDatasource().getConfiguration(), MysqlConfiguration.class);
username = mysqlConfiguration.getUsername(); username = mysqlConfiguration.getUsername();
password = mysqlConfiguration.getPassword(); password = mysqlConfiguration.getPassword();
driver = mysqlConfiguration.getDriver(); driver = "com.mysql.jdbc.Driver";
jdbcurl = mysqlConfiguration.getJdbc(); jdbcurl = mysqlConfiguration.getJdbc();
break; break;
case sqlServer: case sqlServer:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论