-
Notifications
You must be signed in to change notification settings - Fork 340
/
c3p0.properties
62 lines (50 loc) · 1.86 KB
/
c3p0.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#
# This file is detritus from various testing attempts
# the values below may change, and often do not represent
# reasonable values for the parameters.
#
c3p0.testConnectionOnCheckout=true
c3p0.testConnectionOnCheckin=true
#c3p0.dataSourceName=poop
c3p0.minPoolSize=10
c3p0.maxPoolSize=40
c3p0.checkoutTimeout=2000
c3p0.connectionIsValidTimeout=1
#c3p0.idleConnectionTestPeriod=30
c3p0.idleConnectionTestPeriod=1
c3p0.maxConnectionAge=1
c3p0.maxIdleTime=2
c3p0.maxIdleTimeExcessConnections=1
c3p0.propertyCycle=1
c3p0.numHelperThreads=10
c3p0.unreturnedConnectionTimeout=15
c3p0.debugUnreturnedConnectionStackTraces=true
c3p0.forceSynchronousCheckins=true
c3p0.maxStatements=20
c3p0.maxStatementsPerConnection=5
c3p0.maxAdministrativeTaskTime=1
#c3p0.preferredTestQuery=SELECT 1
#c3p0.preferredTestQuery=SXLECT 1
#c3p0.preferredTestQuery=SELECT a FROM emptyyukyuk WHERE a = 5
#c3p0.preferredTestQuery=SELECT a FROM testpbds WHERE a = 5
c3p0.statementCacheNumDeferredCloseThreads=1
#c3p0.automaticTestTable=PoopyTestTable
c3p0.acquireIncrement=10
#c3p0.acquireRetryDelay=1000
#c3p0.acquireRetryAttempts=60
#c3p0.connectionTesterClassName=com.mchange.v2.c3p0.test.AlwaysFailConnectionTester
#c3p0.connectionTesterClassName=com.mchange.v2.c3p0.test.Percent80FailConnectionTester
c3p0.connectionTesterClassName=com.mchange.v2.c3p0.test.Percent20FailConnectionTester
c3p0.initialPoolSize=15
c3p0.attemptResurrectOnCheckin=true
#c3p0.jdbcUrl=
#c3p0.driverClass=
#c3p0.user=
#c3p0.password=
#com.mchange.v2.c3p0.impl.DefaultConnectionTester.isValidTimeout=1
com.mchange.v2.log.MLog=com.mchange.v2.log.jdk14logging.Jdk14MLog
#com.mchange.v2.log.MLog=com.mchange.v2.log.log4j.Log4jMLog
#com.mchange.v2.log.MLog=com.mchange.v2.log.FallbackMLog
#com.mchange.v2.log.NameTransformer=com.mchange.v2.log.PackageNames
#com.mchange.v2.log.FallbackMLog.DEFAULT_CUTOFF_LEVEL=ALL
#com.mchange.v2.c3p0.VMID=poop