Revert storing db_type as lowercase as that cause setup and startup problem.
This commit is contained in:
parent
aecf51a87c
commit
8fa9544e4c
|
@ -311,7 +311,7 @@ public class ConfigOracle implements IDatabaseConfig
|
||||||
log.info("OK: Database Server = " + databaseServer);
|
log.info("OK: Database Server = " + databaseServer);
|
||||||
data.setProperty(ConfigurationData.ADEMPIERE_DB_SERVER, databaseServer.getHostName());
|
data.setProperty(ConfigurationData.ADEMPIERE_DB_SERVER, databaseServer.getHostName());
|
||||||
//store as lower case for better script level backward compatibility
|
//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());
|
data.setProperty(ConfigurationData.ADEMPIERE_DB_PATH, data.getDatabaseType().toLowerCase());
|
||||||
|
|
||||||
// Database Port
|
// Database Port
|
||||||
|
|
|
@ -104,7 +104,7 @@ public class ConfigPostgreSQL implements IDatabaseConfig
|
||||||
log.info("OK: Database Server = " + databaseServer);
|
log.info("OK: Database Server = " + databaseServer);
|
||||||
data.setProperty(ConfigurationData.ADEMPIERE_DB_SERVER, databaseServer.getHostName());
|
data.setProperty(ConfigurationData.ADEMPIERE_DB_SERVER, databaseServer.getHostName());
|
||||||
//store as lower case for better script level backward compatibility
|
//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());
|
data.setProperty(ConfigurationData.ADEMPIERE_DB_PATH, data.getDatabaseType().toLowerCase());
|
||||||
|
|
||||||
// Database Port
|
// Database Port
|
||||||
|
|
Loading…
Reference in New Issue