iLeichun

当前位置: 首页 > Java

c3p0数据源默认配置

分类:Java   来源:网络   时间:2011-01-28 09:05:36

Initializing c3p0 pool...
com.mchange.v2.c3p0.ComboPooledDataSource [
 acquireIncrement -> 3,
 acquireRetryAttempts -> 30,
 acquireRetryDelay -> 1000,
 autoCommitOnClose -> false,
  automaticTestTable -> null,
 breakAfterAcquireFailure -> false,
 checkoutTimeout -> 0,
 connectionCustomizerClassName -> null,
 connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester,
 dataSourceName -> 1hge5wi8d1ai640lmkau5c|1991de1,
 debugUnreturnedConnectionStackTraces -> false,
 description -> null,
 driverClass -> com.mysql.jdbc.Driver,
 factoryClassLocation -> null,
 forceIgnoreUnresolvedTransactions -> false,
 identityToken -> 1hge5wi8d1ai640lmkau5c|1991de1,
 idleConnectionTestPeriod -> 0,
 initialPoolSize -> 3,
 jdbcUrl -> jdbc:mysql://localhost:3306/test,
 maxAdministrativeTaskTime -> 0,
 maxConnectionAge -> 0,
 maxIdleTime -> 0,
 maxIdleTimeExcessConnections -> 0,
 maxPoolSize -> 15,
 maxStatements -> 0,
 maxStatementsPerConnection -> 0,
 minPoolSize -> 3,
 numHelperThreads -> 3,
 numThreadsAwaitingCheckoutDefaultUser -> 0,
 preferredTestQuery -> null,
 properties -> {user=******, password=******},
 propertyCycle -> 0,
 testConnectionOnCheckin -> false,
 testConnectionOnCheckout -> false,
 unreturnedConnectionTimeout -> 0,
 usesTraditionalReflectiveProxies -> false
]

更多