1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE hibernate-configuration PUBLIC
3 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
4 "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
6 <hibernate-configuration>
9 <!-- Database connection settings -->
10 <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
11 <property name="connection.url">jdbc:mysql://localhost/simer</property>
12 <property name="connection.username">simer</property>
13 <property name="connection.password">admin</property>
15 <!-- JDBC connection pool (use the built-in) -->
16 <property name="connection.pool_size">1</property>
17 <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
20 <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
22 <!-- Enable Hibernate's automatic session context management -->
23 <property name="current_session_context_class">thread</property>
25 <!-- Echo all executed SQL statements to stdout -->
26 <property name="hibernate.show_sql">@hibernate.show_sql@</property>
28 <!-- mapping files -->
29 <mapping resource="org/splat/kernel/Persistent.hbm.xml" />
30 <mapping resource="org/splat/kernel/Any.hbm.xml" />
31 <mapping resource="org/splat/kernel/Entity.hbm.xml" />
32 <mapping resource="org/splat/kernel/Attribute.hbm.xml" />
33 <mapping resource="org/splat/kernel/Relation.hbm.xml" />
34 <mapping resource="org/splat/kernel/IDPool.hbm.xml" />
35 <mapping resource="org/splat/kernel/TextAttribute.hbm.xml" />
36 <mapping resource="org/splat/kernel/Text.hbm.xml" />
37 <mapping resource="org/splat/kernel/User.hbm.xml" />
39 <mapping resource="org/splat/som/ProjectElement.hbm.xml" />
40 <mapping resource="org/splat/som/Study.hbm.xml" />
41 <mapping resource="org/splat/som/Scenario.hbm.xml" />
42 <mapping resource="org/splat/som/Attributes.hbm.xml" />
43 <mapping resource="org/splat/som/Relations.hbm.xml" />
44 <mapping resource="org/splat/som/File.hbm.xml" />
45 <mapping resource="org/splat/som/Document.hbm.xml" />
46 <mapping resource="org/splat/som/Publication.hbm.xml" />
47 <mapping resource="org/splat/som/ValidationCycle.hbm.xml" />
48 <mapping resource="org/splat/som/Timestamp.hbm.xml" />
49 <mapping resource="org/splat/som/SimulationContext.hbm.xml" />
50 <mapping resource="org/splat/som/KnowledgeElement.hbm.xml" />
51 <mapping resource="org/splat/som/IDBuilder.hbm.xml" />
55 </hibernate-configuration>