IDEMPIERE-2664 DB Extensibility issues

This commit is contained in:
Carlos Ruiz 2015-06-22 17:18:34 -05:00
parent eeecdc3eb6
commit 8af2d100dc
1 changed files with 2 additions and 8 deletions

View File

@ -863,8 +863,8 @@ public class ConfigurationData
// Create Connection // Create Connection
String ccType = Database.DB_ORACLE; String ccType = Database.DB_ORACLE;
if (getDatabaseType().equals(DBTYPE_POSTGRESQL)) if (getDatabaseType() != null && !getDatabaseType().equals(Database.DB_ORACLE))
ccType = Database.DB_POSTGRESQL; ccType = getDatabaseType();
CConnection cc = null; CConnection cc = null;
try try
{ {
@ -1123,12 +1123,6 @@ public class ConfigurationData
* Database Settings * Database Settings
*************************************************************************/ *************************************************************************/
/** Oracle directory */
//private static String DBTYPE_ORACLE = "Oracle";
/** PostgreSQL */
private static String DBTYPE_POSTGRESQL = "PostgreSQL";
/** Database Types */ /** Database Types */
public static String[] DBTYPE = null; public static String[] DBTYPE = null;
//end e-evolution vpj-cd 02/07/2005 PostgreSQL //end e-evolution vpj-cd 02/07/2005 PostgreSQL