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