if (databasePlatform instanceof OraclePlatform) {
return new OracleHelper(databasePlatform);
}else if (databasePlatform instanceof MySQLPlatform) {
return new MySqlHelper(databasePlatform);
}else if (databasePlatform instanceof PostgreSQLPlatform) {
return new PostgresHelper(databasePlatform);
}else if (databasePlatform instanceof DerbyPlatform) {
return new DerbyHelper(databasePlatform);
} else {
return new GenericDbmsHelper(databasePlatform);
}