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:
parent
f7e0668ee4
commit
c4af5b6523
|
@ -667,7 +667,7 @@ public class DB_Oracle implements AdempiereDatabase
|
||||||
boolean testConnectionOnCheckout = getBooleanProperty(poolProperties, "TestConnectionOnCheckout", false);
|
boolean testConnectionOnCheckout = getBooleanProperty(poolProperties, "TestConnectionOnCheckout", false);
|
||||||
String mlogClass = getStringProperty(poolProperties, "com.mchange.v2.log.MLog", "com.mchange.v2.log.FallbackMLog");
|
String mlogClass = getStringProperty(poolProperties, "com.mchange.v2.log.MLog", "com.mchange.v2.log.FallbackMLog");
|
||||||
int checkoutTimeout = getIntProperty(poolProperties, "CheckoutTimeout", 0);
|
int checkoutTimeout = getIntProperty(poolProperties, "CheckoutTimeout", 0);
|
||||||
int statementCacheNumDeferredCloseThreads = getIntProperty(poolProperties, "StatementCacheNumDeferredCloseThreads", 1);
|
int statementCacheNumDeferredCloseThreads = getIntProperty(poolProperties, "StatementCacheNumDeferredCloseThreads", 0);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
System.setProperty("com.mchange.v2.log.MLog", mlogClass);
|
System.setProperty("com.mchange.v2.log.MLog", mlogClass);
|
||||||
|
|
Loading…
Reference in New Issue