IDEMPIERE-3585 Oracle APPARENT DEADLOCK warnings / set default for StatementCacheNumDeferredCloseThreads to zero - avoid problem about ORA-01000: maximum open cursors exceeded

This commit is contained in:
Carlos Ruiz 2018-11-23 17:55:52 -02:00
parent f7e0668ee4
commit c4af5b6523
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,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);
int statementCacheNumDeferredCloseThreads = getIntProperty(poolProperties, "StatementCacheNumDeferredCloseThreads", 0);
try
{
System.setProperty("com.mchange.v2.log.MLog", mlogClass);