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 3f796308b0..8da0b11fc1 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 @@ -663,6 +663,7 @@ public class DB_Oracle implements AdempiereDatabase boolean testConnectionOnCheckout = getBooleanProperty(poolProperties, "TestConnectionOnCheckout", false); String mlogClass = getStringProperty(poolProperties, "com.mchange.v2.log.MLog", "com.mchange.v2.log.FallbackMLog"); int checkoutTimeout = getIntProperty(poolProperties, "CheckoutTimeout", 0); + int statementCacheNumDeferredCloseThreads = getIntProperty(poolProperties, "StatementCacheNumDeferredCloseThreads", 1); try { System.setProperty("com.mchange.v2.log.MLog", mlogClass); @@ -681,7 +682,7 @@ public class DB_Oracle implements AdempiereDatabase cpds.setTestConnectionOnCheckout(testConnectionOnCheckout); if (checkoutTimeout > 0) cpds.setCheckoutTimeout(checkoutTimeout); - + cpds.setStatementCacheNumDeferredCloseThreads(statementCacheNumDeferredCloseThreads); cpds.setMaxIdleTimeExcessConnections(maxIdleTimeExcessConnections); cpds.setMaxIdleTime(maxIdleTime); if (Ini.isClient())