From 4e4d08c650a533d931514786e1696646fe969b6e Mon Sep 17 00:00:00 2001 From: wangbing <1919101440@qq.com> Date: Mon, 16 Dec 2019 21:23:01 +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: d8553cd0d7456806d4ef267aaede4ea948bf97b5 --- .../java/xyz/wbsite/dbtool/javafx/manger/ProjectManager.java | 4 ++-- .../javafx/po/{MySQLDBmapper_.java => MySQLDBmapper.java} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename src/main/java/xyz/wbsite/dbtool/javafx/po/{MySQLDBmapper_.java => MySQLDBmapper.java} (98%) diff --git a/src/main/java/xyz/wbsite/dbtool/javafx/manger/ProjectManager.java b/src/main/java/xyz/wbsite/dbtool/javafx/manger/ProjectManager.java index eb73fd17..b65351f3 100644 --- a/src/main/java/xyz/wbsite/dbtool/javafx/manger/ProjectManager.java +++ b/src/main/java/xyz/wbsite/dbtool/javafx/manger/ProjectManager.java @@ -220,7 +220,7 @@ public class ProjectManager { public void tryGetDBmapper(DataBase dataBase) { if (dataBase.name().toUpperCase().equals(DataBase.MySQL.name().toUpperCase())) { - dBmapper = new MySQLDBmapper_(dataBase); + dBmapper = new MySQLDBmapper(dataBase); } else if (dataBase.name().toUpperCase().equals(DataBase.Oracle.name().toUpperCase())) { dBmapper = new OracleDBmapper(dataBase); } else if (dataBase.name().toUpperCase().equals(DataBase.SQLite.name().toUpperCase())) { @@ -499,7 +499,7 @@ public class ProjectManager { } } else if ("Mysql".equals(type)) { try { - dBmapper = new MySQLDBmapper_(DataBase.MySQL); + dBmapper = new MySQLDBmapper(DataBase.MySQL); //加载驱动类 Class.forName(driverClassName); diff --git a/src/main/java/xyz/wbsite/dbtool/javafx/po/MySQLDBmapper_.java b/src/main/java/xyz/wbsite/dbtool/javafx/po/MySQLDBmapper.java similarity index 98% rename from src/main/java/xyz/wbsite/dbtool/javafx/po/MySQLDBmapper_.java rename to src/main/java/xyz/wbsite/dbtool/javafx/po/MySQLDBmapper.java index 54024837..4420e63b 100644 --- a/src/main/java/xyz/wbsite/dbtool/javafx/po/MySQLDBmapper_.java +++ b/src/main/java/xyz/wbsite/dbtool/javafx/po/MySQLDBmapper.java @@ -3,9 +3,9 @@ package xyz.wbsite.dbtool.javafx.po; import xyz.wbsite.dbtool.javafx.enums.DataBase; import xyz.wbsite.dbtool.javafx.enums.FieldType; -public class MySQLDBmapper_ extends AbstractDBmapper { +public class MySQLDBmapper extends AbstractDBmapper { - public MySQLDBmapper_(DataBase mDataBase) { + public MySQLDBmapper(DataBase mDataBase) { super(mDataBase); }