Thanks for your answer. My logfile tells me the following:
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1def3f5 [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@165cebb [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 0, initialPoolSize -> 10, maxIdleTime -> 5000, maxPoolSize -> 150, maxStatements -> 300, maxStatementsPerConnection -> 0, minPoolSize -> 10, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1204425 [ description -> null, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:mysql://localhost:3306/ibn, properties -> {dontTrackOpenResources=true, cacheResultSetMetadata=true, user=******, password=******, rollbackOnPooledClose=true, dynamicCalendars=true, zeroDateTimeBehavior=convertToNull, useCompression=true} ] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperThreads -> 3, poolOwnerIdentityToken -> 1def3f5 ]
So i assume that c3po is running. BUT the properties that i set in the hibernate-configuration (for example maxIdleTime=30) are not set properly. What´s going on here?
Christoph
|