1
<?xml version='1.0' encoding='utf-8'?>
2
<!DOCTYPE hibernate-configuration PUBLIC
3
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
5
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
7
<hibernate-configuration>
10
<!-- SQL - Settings -->
11
<property name="dialect">
12
org.hibernate.dialect.MySQLDialect
14
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
16
Use the following JDBC URL to use the reconect feature of the MySQL driver.
17
BTW: This is not recommended, use the reconnect features of the connection pool insteed
18
jdbc:mysql://localhost/goobi?autoReconnect=true&autoReconnectForPools=true
20
<property name="hibernate.connection.url">
21
jdbc:mysql://localhost/goobi
23
<property name="hibernate.connection.username">goobi</property>
24
<property name="hibernate.connection.password">goobi</property>
26
<!-- connection pool -->
27
<property name="hibernate.c3p0.max_size">10</property>
28
<property name="hibernate.c3p0.min_size">1</property>
29
<property name="hibernate.c3p0.timeout">18</property>
30
<property name="hibernate.c3p0.max_statements">0</property>
31
<property name="hibernate.c3p0.idle_test_period">10</property>
32
<property name="hibernate.c3p0.acquire_increment">1</property>
33
<property name="hibernate.c3p0.validate">true</property>
35
<!-- use the C3P0 connection pool -->
36
<property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
38
<!-- Enable Hibernate's automatic session context management -->
39
<property name="current_session_context_class">managed</property>
41
<!-- Don't echo all executed SQL to stdout -->
42
<property name="show_sql">false</property>
43
<property name="hibernate.bytecode.use_reflection_optimizer">false</property>
45
<!-- Update database schema on startup -->
46
<property name="hbm2ddl.auto">update</property>
48
<!-- Die einzelnen Mappings -->
49
<mapping resource="de/sub/goobi/Beans/Benutzergruppe.hbm.xml" />
50
<mapping resource="de/sub/goobi/Beans/Benutzer.hbm.xml" />
51
<mapping resource="de/sub/goobi/Beans/Prozess.hbm.xml" />
52
<mapping resource="de/sub/goobi/Beans/Prozesseigenschaft.hbm.xml" />
53
<mapping resource="de/sub/goobi/Beans/Schritt.hbm.xml" />
54
<mapping resource="de/sub/goobi/Beans/Schritteigenschaft.hbm.xml" />
55
<mapping resource="de/sub/goobi/Beans/Werkstueck.hbm.xml" />
56
<mapping resource="de/sub/goobi/Beans/Werkstueckeigenschaft.hbm.xml" />
57
<mapping resource="de/sub/goobi/Beans/Vorlage.hbm.xml" />
58
<mapping resource="de/sub/goobi/Beans/Vorlageeigenschaft.hbm.xml" />
59
<mapping resource="de/sub/goobi/Beans/Projekt.hbm.xml" />
60
<mapping resource="de/sub/goobi/Beans/Regelsatz.hbm.xml" />
61
<mapping resource="de/sub/goobi/Beans/LdapGruppe.hbm.xml" />
62
<mapping resource="de/sub/goobi/Beans/ProjectFileGroup.hbm.xml" />
63
<mapping resource="de/sub/goobi/Beans/HistoryEvent.hbm.xml" />
67
</hibernate-configuration>
b'\\ No newline at end of file'