if (metaData.getDatabaseProductName().matches("(?i).*hsql.*")) {
return new HSQLDialect();
} else if (metaData.getDatabaseProductName().matches("(?i).*derby.*")) {
return new DerbyDialect();
} else if (metaData.getDatabaseProductName().matches("(?i).*mysql.*")) {
return new MySQLDialectDriver();
} else if (metaData.getDatabaseProductName().matches("(?i).*oracle.*")) {