Former-commit-id: d8553cd0d7456806d4ef267aaede4ea948bf97b5
master
wangbing 5 years ago
parent 6e2a37ed06
commit 4e4d08c650

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

@ -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);
}
Loading…
Cancel
Save

Powered by TurnKey Linux.