|
|
@ -708,6 +708,13 @@ public class SpringBootCallable implements Callable {
|
|
|
|
String string = FileUtil.readFileToString(file);
|
|
|
|
String string = FileUtil.readFileToString(file);
|
|
|
|
statement.execute(string);
|
|
|
|
statement.execute(string);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
File tableDir = Tool.createPath(dbtool.getAbsolutePath(),"system");
|
|
|
|
|
|
|
|
File file = Tool.createFile(tableDir.getAbsolutePath(), "ALL_TABLE.sql");
|
|
|
|
|
|
|
|
String string = FileUtil.readFileToString(file);
|
|
|
|
|
|
|
|
statement.execute(string);
|
|
|
|
|
|
|
|
}
|
|
|
|
} catch (ClassNotFoundException | SQLException | IOException e) {
|
|
|
|
} catch (ClassNotFoundException | SQLException | IOException e) {
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|
} finally {
|
|
|
|
} finally {
|
|
|
|