c3p0属性详解

<c3p0-config>
<default-config>

<property name="acquireIncrement">3property>


<property name="acquireRetryAttempts">30property>


<property name="acquireRetryDelay">1000property>


<property name="autoCommitOnClose">falseproperty>


<property name="automaticTestTable">Testproperty>


<property name="breakAfterAcquireFailure">falseproperty>


<property name="checkoutTimeout">100property>


<property name="connectionTesterClassName">property>


<property name="factoryClassLocation">nullproperty>


<property name="forceIgnoreUnresolvedTransactions">falseproperty>


<property name="idleConnectionTestPeriod">60property>


<property name="initialPoolSize">3property>


<property name="maxIdleTime">60property>


<property name="maxPoolSize">15property>


<property name="maxStatements">100property>


<property name="maxStatementsPerConnection">property>


<property name="numHelperThreads">3property>


<property name="overrideDefaultUser">rootproperty>


<property name="overrideDefaultPassword">passwordproperty>


<property name="password">property>


<property name="preferredTestQuery">select id from test where id=1property>


<property name="propertyCycle">300property>


<property name="testConnectionOnCheckout">falseproperty>


<property name="testConnectionOnCheckin">trueproperty>


<property name="user">rootproperty>


<property name="usesTraditionalReflectiveProxies">falseproperty>

<property name="automaticTestTable">con_testproperty>
<property name="checkoutTimeout">30000property>
<property name="idleConnectionTestPeriod">30property>
<property name="initialPoolSize">10property>
<property name="maxIdleTime">30property>
<property name="maxPoolSize">25property>
<property name="minPoolSize">10property>
<property name="maxStatements">0property>
<user-overrides user="swaldman">
user-overrides>
default-config>
<named-config name="dumbTestConfig">
<property name="maxStatements">200property>
<user-overrides user="poop">
<property name="maxStatements">300property>
user-overrides>
named-config>
c3p0-config>

你可能感兴趣的:(J2EE框架)