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