-
Notifications
You must be signed in to change notification settings - Fork 335
/
c3p0-config.xml
61 lines (49 loc) · 2.31 KB
/
c3p0-config.xml
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
56
57
58
59
60
61
<?xml version="1.0" standalone="no" ?>
<!DOCTYPE c3p0-config [
<!ENTITY extra SYSTEM "https://www.mchange.com/projects/c3p0/extra.xml">
]>
<c3p0-config>
<default-config>
<!-- <property name="automaticTestTable">con_test</property> -->
<!-- <property name="checkoutTimeout">30000</property> -->
<!-- <property name="idleConnectionTestPeriod">30</property> -->
<!-- <property name="initialPoolSize">10</property> -->
<!-- <property name="maxIdleTime">30</property> -->
<!-- <property name="maxIdleTimeExcessConnections">10</property> -->
<!-- <property name="maxConnectionAge">60</property> -->
<!-- <property name="propertyCycle">1</property> -->
<!-- <property name="maxPoolSize">25</property> -->
<!-- <property name="minPoolSize">5</property> -->
<!-- <property name="maxStatements">0</property> -->
<!-- <property name="maxStatementsPerConnection">5</property> -->
<!-- <property name="maxAdministrativeTaskTime">4</property> -->
<!-- <property name="connectionCustomizerClassName">com.mchange.v2.c3p0.test.TestConnectionCustomizer</property> -->
<!-- <property name="unreturnedConnectionTimeout">15</property> -->
<!-- <property name="debugUnreturnedConnectionStackTraces">true</property> -->
<!-- <property name="dataSourceName">poop</property> -->
<!-- <property name="driverClass">org.postgresql.Driver</property> -->
<!-- <property name="jdbcUrl">jdbc:postgresql://localhost/c3p0-test</property> -->
<extensions>
<!-- <property name="myXmlKey">myXmlVal</property> -->
<!-- <property name="myKey">myOverriddenVal</property> -->
</extensions>
<user-overrides user="swaldman">
<!--
<property name="unreturnedConnectionTimeout">5</property>
<property name="debugUnreturnedConnectionStackTraces">true</property>
-->
<!-- <property name="preferredTestQuery">select poop from doop</property> --><!-- intentionally broken -->
</user-overrides>
&extra;
</default-config>
<!--
<named-config name="dumbTestConfig">
<property name="maxStatements">200</property>
<property name="jdbcUrl">jdbc:test</property>
<property name="dataSourceName">scoop</property>
<user-overrides user="poop">
<property name="maxStatements">300</property>
</user-overrides>
</named-config>
-->
</c3p0-config>