Mercurial > hg > LGServices
view src/main/resources/hibernate.cfg.xml @ 105:16a0796e3871 default tip
remove "console.log" from general.js
author | Calvin Yeh <cyeh@mpipw-berlin.mpg.com> |
---|---|
date | Fri, 29 Sep 2017 16:18:02 +0200 |
parents | 7e161f2e6660 |
children |
line wrap: on
line source
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <!-- hibernate.cfg.xml --> <property name="c3p0.min_size">5</property> <property name="c3p0.max_size">20</property> <property name="c3p0.timeout">7200</property> <property name="c3p0.max_statements">50</property> <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property> <!-- Database connection settings --> <!-- <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> --> <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> <property name="hibernate.connection.url">jdbc:mysql://localhost/LGServices?characterEncoding=UTF-8</property> <property name="hibernate.connection.username">root</property> <property name="hibernate.connection.password">root</property> <property name="hibernate.connection.charSet">UTF-8</property> <!-- JDBC connection pool (use the built-in) --> <property name="hibernate.connection.pool_size">5</property> <!-- Enable Hibernate's automatic session context management --> <property name="hibernate.current_session_context_class">thread</property> <!-- Disable the second-level cache --> <!-- <property name="hibernate.cache.provider_class">org.hibernate.cache.internal.NoCacheProvider</property> --> <!-- <property name="hibernate.show_sql">true</property> <property name="hibernate.hbm2ddl.auto">create</property> --> <mapping class="de.mpiwg.gazetteer.bo.LGBranch"/> <mapping class="de.mpiwg.gazetteer.bo.LGFile"/> <mapping class="de.mpiwg.gazetteer.bo.LGFullTextSearchFile"/> <mapping class="de.mpiwg.gazetteer.bo.Sequence"/> <mapping class="de.mpiwg.gazetteer.bo.LGTopic"/> <mapping class="de.mpiwg.gazetteer.bo.LGTaglist"/> <mapping class="de.mpiwg.gazetteer.bo.LGTopicSectionRelation"/> <mapping class="de.mpiwg.gazetteer.bo.LGTopicTagRelation"/> </session-factory> </hibernate-configuration>