Advertisement
Guest User

Untitled

a guest
Jun 24th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.55 KB | None | 0 0
  1. 1466758775037|1|commit|connection 32||
  2. 1466758775093|0|commit|connection 34||
  3. 1466758775112|0|commit|connection 36||
  4. 1466758775118|0|commit|connection 38||
  5. 1466758775119|0|commit|connection 40||
  6. 1466758775120|0|commit|connection 42||
  7. 1466758775170|0|commit|connection 44||
  8.  
  9. <version.hibernate>5.2.1-SNAPSHOT</version.hibernate>
  10. <dependency>
  11. <groupId>org.hibernate</groupId>
  12. <artifactId>hibernate-core</artifactId>
  13. <version>${version.hibernate}</version>
  14. </dependency>
  15. <dependency>
  16. <groupId>org.hibernate</groupId>
  17. <artifactId>hibernate-ehcache</artifactId>
  18. <version>${version.hibernate}</version>
  19. </dependency>
  20. <dependency>
  21. <groupId>org.hibernate</groupId>
  22. <artifactId>hibernate-c3p0</artifactId>
  23. <version>${version.hibernate}</version>
  24. </dependency>
  25.  
  26. <bean id="dataSource" class="com.p6spy.engine.spy.P6DataSource">
  27. <constructor-arg>
  28. <bean id="realDataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
  29. <property name="driverClass" value="org.h2.Driver"/>
  30. <property name="jdbcUrl" value="jdbc:h2:tcp://localhost/~/***"/>
  31. <property name="user" value="***"/>
  32. <property name="password" value="***"/>
  33. <property name="minPoolSize" value="3" />
  34. <property name="maxPoolSize" value="20" />
  35. <property name="acquireIncrement" value="1" />
  36. <property name="maxStatements" value="50" />
  37. <property name="idleConnectionTestPeriod" value="3000" />
  38. <property name="loginTimeout" value="300" />
  39. <property name="preferredTestQuery" value="SELECT 1;"/>
  40. <property name="testConnectionOnCheckin" value="false"/>
  41. <property name="testConnectionOnCheckout" value="false"/>
  42. </bean>
  43. </constructor-arg>
  44. </bean>
  45.  
  46. <bean id="sessionFactory" class="org.springframework.orm.hibernate5.LocalSessionFactoryBean">
  47. <property name="dataSource" ref="dataSource" />
  48. <property name="packagesToScan" value="***" />
  49. <property name="hibernateProperties">
  50. <value>
  51. hibernate.dialect = org.hibernate.dialect.H2Dialect
  52. hibernate.show_sql = false
  53. hibernate.format_sql = true
  54. hibernate.use_sql_comments = false
  55. hibernate.hbm2ddl.auto = update
  56. hibernate.cache.use_second_level_cache = true
  57. hibernate.cache.use_query_cache = true
  58. hibernate.cache.region.factory_class = org.hibernate.cache.ehcache.EhCacheRegionFactory
  59. hibernate.session_factory_name = HibernateSessionFactory
  60. hibernate.generate_statistics = false
  61. </value>
  62. </property>
  63. </bean>
  64.  
  65. INFOS: Initializing c3p0-0.9.2.1 [built 20-March-2013 10:47:27 +0000; debug? true; trace: 10]
  66. 08:58:32 INFO org.hibernate.Version - HHH000412: Hibernate Core {5.2.1.SNAPSHOT}
  67. 08:58:32 INFO org.hibernate.cfg.Environment - HHH000206: hibernate.properties not found
  68. 08:58:32 INFO org.hibernate.cfg.Environment - HHH000021: Bytecode provider name : javassist
  69. 08:58:32 INFO o.h.annotations.common.Version - HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
  70. juin 24, 2016 10:58:33 AM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource getPoolManager
  71. INFOS: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName ->
  72. null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge0wc9hzyuw1pevdajq|27358a19, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> org.h2.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions ->
  73. false, identityToken -> 1hge0wc9hzyuw1pevdajq|27358a19, idleConnectionTestPeriod -> 3000, initialPoolSize -> 3, jdbcUrl -> jdbc:h2:tcp://localhost/~/***, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 20, maxStatement
  74. s -> 50, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, preferredTestQuery -> SELECT 1;, properties -> {user=******, password=******}, propertyCycle -> 0, statementCacheNumDeferredCloseThreads -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unret
  75. urnedConnectionTimeout -> 0, userOverrides -> {}, usesTraditionalReflectiveProxies -> false ]
  76. 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