1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<c3p0-config>
|
3
|
<!-- this is a copy of the same file in
|
4
|
src/main/resources but with commented
|
5
|
"automaticTestTable" property.
|
6
|
This property causes problems in tests as the table
|
7
|
is not found in the test database. Maybe we can fix
|
8
|
this one day.
|
9
|
see also http://dev.e-taxonomy.eu/trac/ticket/3344
|
10
|
-->
|
11
|
|
12
|
<!--
|
13
|
for a reference please refer to
|
14
|
http://www.mchange.com/projects/c3p0/index.htm
|
15
|
-->
|
16
|
<default-config>
|
17
|
<!--
|
18
|
idleConnectionTestPeriod: if this is a number greater than 0, c3p0
|
19
|
will test all idle, pooled but unchecked-out connections, every this
|
20
|
number of seconds
|
21
|
-->
|
22
|
<property name="idleConnectionTestPeriod">60</property>
|
23
|
<!--
|
24
|
automaticTestTable:
|
25
|
If provided, c3p0 will create an
|
26
|
empty table of the specified name, and use queries against that table
|
27
|
to test the Connection. If automaticTestTable is provided, c3p0 will
|
28
|
generate its own test query, therefore any preferredTestQuery set
|
29
|
will be ignored. You should not work with the named table after c3p0
|
30
|
creates it; it should be strictly for c3p0's use in testing your
|
31
|
Connection.
|
32
|
-->
|
33
|
|
34
|
|
35
|
<!-- <property name="automaticTestTable">_c3p0ConnectionTest</property> -->
|
36
|
|
37
|
</default-config>
|
38
|
</c3p0-config>
|