Termserver.hibernate.cfg.xml
Aus Termserver-CTS2
(Unterschied zwischen Versionen)
Zeile 26: | Zeile 26: | ||
<property name="hibernate.c3p0.idle_test_period">300</property> | <property name="hibernate.c3p0.idle_test_period">300</property> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</session-factory> | </session-factory> | ||
</hibernate-configuration> | </hibernate-configuration> | ||
</source> | </source> |
Aktuelle Version vom 6. Oktober 2014, 09:26 Uhr
This is the configuration file that enables access to the database of the Terminology Server. The file is used from TermServer and TermAdmin.
Please change the username and password.
The file has to been located in your tomcat/conf/ folder.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> <session-factory> <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:3306/web5db2</property> <property name="hibernate.connection.username">INSERT_YOUR_USERNAME</property> <property name="hibernate.connection.password">INSERT_YOUR_PASSWORD</property> <property name="hibernate.connection.zeroDateTimeBehavior">convertToNull</property> <property name="hibernate.show_sql">false</property> <property name="show_sql">false</property> <property name="dialect">org.hibernate.dialect.MySQL5Dialect</property> <property name="hibernate.c3p0.min_size">5</property> <property name="hibernate.c3p0.max_size">20</property> <property name="hibernate.c3p0.timeout">3000</property> <property name="hibernate.c3p0.max_statements">50</property> <property name="hibernate.c3p0.idle_test_period">300</property> </session-factory> </hibernate-configuration>