Termserver.hibernate.cfg.xml

Aus Termserver-CTS2
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
 
Zeile 26: Zeile 26:
 
     <property name="hibernate.c3p0.idle_test_period">300</property>
 
     <property name="hibernate.c3p0.idle_test_period">300</property>
 
 
    <mapping class="de.fhdo.terminologie.db.hibernate.LicencedUserId"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemConceptTranslation"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.Domain"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.LicencedUser"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemConcept"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.AssociationType"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.ConceptValueSetMembershipId"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.ConceptValueSetMembership"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystem"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.SysParam"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntityVersion"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntity"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersionEntityMembership"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.DomainValue"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.TermUser"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.MetadataParameter"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.Session"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.ValueSet"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersionEntityMembershipId"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemVersion"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.ValueSetVersion"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemMetadataValue"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.LicenceType"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.CodeSystemEntityVersionAssociation"/>
 
    <mapping class="de.fhdo.terminologie.db.hibernate.ValueSetMetadataValue"/>
 
 
   </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>
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Werkzeuge