SHARE
TWEET

Untitled

a guest Nov 6th, 2018 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. WARN: HHH000022: c3p0 properties were encountered, but the c3p0 provider class was not found on the classpath; these properties are going to be ignored.
  2.    
  3. <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
  4. <property name="connection.url">jdbc:mysql://IP:3306/cq?autoReconnect=true&characterEncoding=utf8&useUnicode=true&sessionVariables=storage_engine%3DInnoDB&interactiveClient=true&useSSL=false</property>
  5. <property name="connection.username">user</property>
  6. <property name="connection.password">pass</property>
  7.  
  8. <!-- JDBC connection pool (use the built-in) -->
  9. <property name="connection.pool_size">1</property>
  10.  
  11. <!-- SQL dialect -->
  12. <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
  13.  
  14. <!-- Enable Hibernate's automatic session context management -->
  15. <property name="current_session_context_class">thread</property>
  16.  
  17. <!-- Disable the second-level cache  -->
  18. <property name="cache.provider_class">org.hibernate.cache.internal.NoCacheProvider</property>
  19.  
  20. <!-- Echo all executed SQL to stdout -->
  21. <property name="show_sql">true</property>
  22.  
  23. <!-- Drop and re-create the database schema on startup -->
  24. <property name="hbm2ddl.auto">update</property>
  25.  
  26.  
  27. <!--
  28.         hibernate c3p0 settings
  29.     -->
  30.  
  31. <property name="hibernate.c3p0.acquire_increment">3</property>
  32. <property name="hibernate.c3p0.idle_test_period">10</property>
  33. <property name="hibernate.c3p0.min_size">5</property>
  34. <property name="hibernate.c3p0.max_size">75</property>
  35. <property name="hibernate.c3p0.max_statements">10</property>
  36. <property name="hibernate.c3p0.timeout">50</property>
  37. <property name="hibernate.c3p0.preferredTestQuery">select 1</property>
  38. <property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
  39.    
  40. c3p0-0.9.5.2.jar
  41. c3p0-oracle-thin-extras-0.9.5.2.jar
  42. mchange-commons-java-0.2.11.jar
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top