IDEMPIERE-5013 Implement HikariCP as a replacement for c3p0 (#1486)
This commit is contained in:
parent
52e5e17fed
commit
ac36849415
|
@ -732,6 +732,7 @@ public class DB_Oracle implements AdempiereDatabase
|
|||
}
|
||||
|
||||
HikariConfig hikariConfig = new HikariConfig(poolProperties);
|
||||
hikariConfig.setDriverClassName(DRIVER);
|
||||
m_ds = new HikariDataSource(hikariConfig);
|
||||
|
||||
m_connectionURL = m_ds.getJdbcUrl();
|
||||
|
|
|
@ -758,6 +758,7 @@ public class DB_PostgreSQL implements AdempiereDatabase
|
|||
}
|
||||
|
||||
HikariConfig hikariConfig = new HikariConfig(poolProperties);
|
||||
hikariConfig.setDriverClassName(DRIVER);
|
||||
m_ds = new HikariDataSource(hikariConfig);
|
||||
|
||||
m_connectionURL = m_ds.getJdbcUrl();
|
||||
|
|
Loading…
Reference in New Issue