diff --git a/org.compiere.db.oracle.provider/src/org/compiere/db/DB_Oracle.java b/org.compiere.db.oracle.provider/src/org/compiere/db/DB_Oracle.java index 6556e6e3dd..fcc45ba708 100644 --- a/org.compiere.db.oracle.provider/src/org/compiere/db/DB_Oracle.java +++ b/org.compiere.db.oracle.provider/src/org/compiere/db/DB_Oracle.java @@ -731,7 +731,8 @@ public class DB_Oracle implements AdempiereDatabase poolProperties.put("password", connection.getDbPwd()); } - HikariConfig hikariConfig = new HikariConfig(poolProperties); + HikariConfig hikariConfig = new HikariConfig(poolProperties); + hikariConfig.setDriverClassName(DRIVER); m_ds = new HikariDataSource(hikariConfig); m_connectionURL = m_ds.getJdbcUrl(); diff --git a/org.compiere.db.postgresql.provider/src/org/compiere/db/DB_PostgreSQL.java b/org.compiere.db.postgresql.provider/src/org/compiere/db/DB_PostgreSQL.java index 95e88aa790..f67fc57694 100755 --- a/org.compiere.db.postgresql.provider/src/org/compiere/db/DB_PostgreSQL.java +++ b/org.compiere.db.postgresql.provider/src/org/compiere/db/DB_PostgreSQL.java @@ -756,8 +756,9 @@ public class DB_PostgreSQL implements AdempiereDatabase if (!poolProperties.contains("password")) { poolProperties.put("password", connection.getDbPwd()); } - - HikariConfig hikariConfig = new HikariConfig(poolProperties); + + HikariConfig hikariConfig = new HikariConfig(poolProperties); + hikariConfig.setDriverClassName(DRIVER); m_ds = new HikariDataSource(hikariConfig); m_connectionURL = m_ds.getJdbcUrl();