Revert storing db_type as lowercase as that cause setup and startup problem.

This commit is contained in:
Heng Sin Low 2010-12-17 08:08:42 +08:00
parent aecf51a87c
commit 8fa9544e4c
2 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ public class ConfigOracle implements IDatabaseConfig
log.info("OK: Database Server = " + databaseServer);
data.setProperty(ConfigurationData.ADEMPIERE_DB_SERVER, databaseServer.getHostName());
//store as lower case for better script level backward compatibility
data.setProperty(ConfigurationData.ADEMPIERE_DB_TYPE, data.getDatabaseType().toLowerCase());
data.setProperty(ConfigurationData.ADEMPIERE_DB_TYPE, data.getDatabaseType());
data.setProperty(ConfigurationData.ADEMPIERE_DB_PATH, data.getDatabaseType().toLowerCase());
// Database Port

View File

@ -104,7 +104,7 @@ public class ConfigPostgreSQL implements IDatabaseConfig
log.info("OK: Database Server = " + databaseServer);
data.setProperty(ConfigurationData.ADEMPIERE_DB_SERVER, databaseServer.getHostName());
//store as lower case for better script level backward compatibility
data.setProperty(ConfigurationData.ADEMPIERE_DB_TYPE, data.getDatabaseType().toLowerCase());
data.setProperty(ConfigurationData.ADEMPIERE_DB_TYPE, data.getDatabaseType());
data.setProperty(ConfigurationData.ADEMPIERE_DB_PATH, data.getDatabaseType().toLowerCase());
// Database Port