From 050bdbd246b679be57dae55840493a3110d1e28a Mon Sep 17 00:00:00 2001 From: wangbing <1919101440@qq.com> Date: Mon, 16 Dec 2019 23:30:59 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81SQLite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 86caad6d27a8ede888ffbb78829fd597869a2f3c --- .../dbtool/javafx/manger/callable/SpringBootCallable.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/xyz/wbsite/dbtool/javafx/manger/callable/SpringBootCallable.java b/src/main/java/xyz/wbsite/dbtool/javafx/manger/callable/SpringBootCallable.java index b72bdd17..1ca59dc1 100644 --- a/src/main/java/xyz/wbsite/dbtool/javafx/manger/callable/SpringBootCallable.java +++ b/src/main/java/xyz/wbsite/dbtool/javafx/manger/callable/SpringBootCallable.java @@ -708,6 +708,13 @@ public class SpringBootCallable implements Callable { String string = FileUtil.readFileToString(file); 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) { e.printStackTrace(); } finally {