java c3p0 远程oracle 网络异常后就算网络恢复了还是一直打印关闭的连接
应用正常运行,但偶尔出现一次网络导致远程数据库失败后,就一直打印这个错误,就算远程数据库正常了还是一直打印这个错误,求大神指点driverClass=oracle.jdb...
应用正常运行,但偶尔出现一次网络导致远程数据库失败后, 就一直打印这个错误,就算远程数据库正常了还是一直打印这个错误,求大神指点
driverClass=oracle.jdbc.driver.OracleDriver
initialPoolSize=10
minPoolSize=5
maxPoolSize=30
acquireIncrement=3
acquireRetryAttempts=30
acquireRetryDelay=1000
autoCommitOnClose=false
breakAfterAcquireFailure=false
checkoutTimeout=500
idleConnectionTestPeriod=90
maxIdleTime=60
maxStatements=0
maxStatementsPerConnection=0
numHelperThreads=3
preferredTestQuery = select 1 from dual
propertyCycle=300
testConnectionOnCheckout=true
testConnectionOnCheckin=true
这是我的c3p0的配置 展开
driverClass=oracle.jdbc.driver.OracleDriver
initialPoolSize=10
minPoolSize=5
maxPoolSize=30
acquireIncrement=3
acquireRetryAttempts=30
acquireRetryDelay=1000
autoCommitOnClose=false
breakAfterAcquireFailure=false
checkoutTimeout=500
idleConnectionTestPeriod=90
maxIdleTime=60
maxStatements=0
maxStatementsPerConnection=0
numHelperThreads=3
preferredTestQuery = select 1 from dual
propertyCycle=300
testConnectionOnCheckout=true
testConnectionOnCheckin=true
这是我的c3p0的配置 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询