Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1466758775037|1|commit|connection 32||
- 1466758775093|0|commit|connection 34||
- 1466758775112|0|commit|connection 36||
- 1466758775118|0|commit|connection 38||
- 1466758775119|0|commit|connection 40||
- 1466758775120|0|commit|connection 42||
- 1466758775170|0|commit|connection 44||
- <version.hibernate>5.2.1-SNAPSHOT</version.hibernate>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-core</artifactId>
- <version>${version.hibernate}</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-ehcache</artifactId>
- <version>${version.hibernate}</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-c3p0</artifactId>
- <version>${version.hibernate}</version>
- </dependency>
- <bean id="dataSource" class="com.p6spy.engine.spy.P6DataSource">
- <constructor-arg>
- <bean id="realDataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
- <property name="driverClass" value="org.h2.Driver"/>
- <property name="jdbcUrl" value="jdbc:h2:tcp://localhost/~/***"/>
- <property name="user" value="***"/>
- <property name="password" value="***"/>
- <property name="minPoolSize" value="3" />
- <property name="maxPoolSize" value="20" />
- <property name="acquireIncrement" value="1" />
- <property name="maxStatements" value="50" />
- <property name="idleConnectionTestPeriod" value="3000" />
- <property name="loginTimeout" value="300" />
- <property name="preferredTestQuery" value="SELECT 1;"/>
- <property name="testConnectionOnCheckin" value="false"/>
- <property name="testConnectionOnCheckout" value="false"/>
- </bean>
- </constructor-arg>
- </bean>
- <bean id="sessionFactory" class="org.springframework.orm.hibernate5.LocalSessionFactoryBean">
- <property name="dataSource" ref="dataSource" />
- <property name="packagesToScan" value="***" />
- <property name="hibernateProperties">
- <value>
- hibernate.dialect = org.hibernate.dialect.H2Dialect
- hibernate.show_sql = false
- hibernate.format_sql = true
- hibernate.use_sql_comments = false
- hibernate.hbm2ddl.auto = update
- hibernate.cache.use_second_level_cache = true
- hibernate.cache.use_query_cache = true
- hibernate.cache.region.factory_class = org.hibernate.cache.ehcache.EhCacheRegionFactory
- hibernate.session_factory_name = HibernateSessionFactory
- hibernate.generate_statistics = false
- </value>
- </property>
- </bean>
- INFOS: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10]
- 08:58:32 INFO org.hibernate.Version - HHH000412: Hibernate Core {5.2.1.SNAPSHOT}
- 08:58:32 INFO org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found
- 08:58:32 INFO org.hibernate.cfg.Environment - HHH000021: Bytecode provider name : javassist
- 08:58:32 INFO o.h.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
- juin 24, 2016 10:58:33 AM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
- INFOS: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName ->
- null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge0wc9hzyuw1pevdajq|27358a19, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions ->
- false, identityToken -> 1hge0wc9hzyuw1pevdajq|27358a19, idleConnectionTestPeriod -> 3000, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:tcp://localhost/~/***, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatement
- s -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT 1;, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unret
- urnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
- 08:58:33 INFO org.hibernate.dialect.Dialect - HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement