Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WARN: HHH000022: c3p0 properties were encountered, but the c3p0 provider class was not found on the classpath; these properties are going to be ignored.
- <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
- <property name="connection.url">jdbc:mysql://IP:3306/cq?autoReconnect=true&characterEncoding=utf8&useUnicode=true&sessionVariables=storage_engine%3DInnoDB&interactiveClient=true&useSSL=false</property>
- <property name="connection.username">user</property>
- <property name="connection.password">pass</property>
- <!-- JDBC connection pool (use the built-in) -->
- <property name="connection.pool_size">1</property>
- <!-- SQL dialect -->
- <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
- <!-- Enable Hibernate's automatic session context management -->
- <property name="current_session_context_class">thread</property>
- <!-- Disable the second-level cache -->
- <property name="cache.provider_class">org.hibernate.cache.internal.NoCacheProvider</property>
- <!-- Echo all executed SQL to stdout -->
- <property name="show_sql">true</property>
- <!-- Drop and re-create the database schema on startup -->
- <property name="hbm2ddl.auto">update</property>
- <!--
- hibernate c3p0 settings
- -->
- <property name="hibernate.c3p0.acquire_increment">3</property>
- <property name="hibernate.c3p0.idle_test_period">10</property>
- <property name="hibernate.c3p0.min_size">5</property>
- <property name="hibernate.c3p0.max_size">75</property>
- <property name="hibernate.c3p0.max_statements">10</property>
- <property name="hibernate.c3p0.timeout">50</property>
- <property name="hibernate.c3p0.preferredTestQuery">select 1</property>
- <property name="hibernate.c3p0.testConnectionOnCheckout">true</property>
- c3p0-0.9.5.2.jar
- c3p0-oracle-thin-extras-0.9.5.2.jar
- mchange-commons-java-0.2.11.jar
Add Comment
Please, Sign In to add comment