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); }