forked from github/dataease
fix(数据源): 修复H2漏洞
This commit is contained in:
parent
9b34e429bd
commit
50ddecbd0f
@ -337,9 +337,6 @@ public class CalciteProvider extends Provider {
|
|||||||
case ck:
|
case ck:
|
||||||
configuration = JsonUtil.parseObject(coreDatasource.getConfiguration(), CK.class);
|
configuration = JsonUtil.parseObject(coreDatasource.getConfiguration(), CK.class);
|
||||||
break;
|
break;
|
||||||
case h2:
|
|
||||||
configuration = JsonUtil.parseObject(coreDatasource.getConfiguration(), H2.class);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
configuration = JsonUtil.parseObject(coreDatasource.getConfiguration(), Mysql.class);
|
configuration = JsonUtil.parseObject(coreDatasource.getConfiguration(), Mysql.class);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user