enhancement #I5XWL2 数据库插件支持脚本的存储
This commit is contained in:
parent
aafc668d44
commit
657a557d7e
|
@ -68,7 +68,7 @@ public class SQLWithXmlELSpringbootTest extends BaseTest {
|
|||
private void changeData() {
|
||||
LiteflowConfig liteflowConfig = LiteflowConfigGetter.get();
|
||||
SQLParserVO sqlParserVO = JsonUtil.parseObject(liteflowConfig.getRuleSourceExtData(), SQLParserVO.class);
|
||||
Connection connection = null;
|
||||
Connection connection;
|
||||
try {
|
||||
connection = DriverManager.getConnection(sqlParserVO.getUrl(), sqlParserVO.getUsername(), sqlParserVO.getPassword());
|
||||
Statement statement = connection.createStatement();
|
||||
|
@ -84,7 +84,7 @@ public class SQLWithXmlELSpringbootTest extends BaseTest {
|
|||
private void changeScriptData() {
|
||||
LiteflowConfig liteflowConfig = LiteflowConfigGetter.get();
|
||||
SQLParserVO sqlParserVO = JsonUtil.parseObject(liteflowConfig.getRuleSourceExtData(), SQLParserVO.class);
|
||||
Connection connection = null;
|
||||
Connection connection;
|
||||
try {
|
||||
connection = DriverManager.getConnection(sqlParserVO.getUrl(), sqlParserVO.getUsername(), sqlParserVO.getPassword());
|
||||
Statement statement = connection.createStatement();
|
||||
|
|
Loading…
Reference in New Issue