}
String driverLowerCase = config.driver.toLowerCase();
if (driverLowerCase.indexOf("oracle") != -1) {
return new OracleEntityDao(this, entity, isLogger);
} else if (driverLowerCase.indexOf("mysql") != -1) {
return new MySqlEntityDao(this, entity, isLogger);
}
return new DefaultEntityDao(this, entity, isLogger);
}