if(DRIVER_MYSQL.equalsIgnoreCase(driverName)) {
return new MysqlDialect();
}else if(DRIVER_ORACLE.equalsIgnoreCase(driverName)) {
return new OracleDialect();
}else if(DRIVER_SQLLITE3.equalsIgnoreCase(driverName)) {
return new Sqllite3Dialect();
}
}
return new AnsiSqlDialect();
}