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>
8 <!-- Generated at 21/09/2012 01:53:52 -->
9 <!-- ------------------------------------------------------- -->
12 <!-- Database connection settings -->
13 <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
14 <property name="connection.url">jdbc:mysql://localhost/simer</property>
15 <property name="connection.username">simer</property>
16 <property name="connection.password">admin</property>
18 <!-- JDBC connection pool (use the built-in) -->
19 <property name="connection.pool_size">1</property>
20 <property name="transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory</property>
23 <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
25 <!-- Enable Hibernate's automatic session context management -->
26 <property name="current_session_context_class">thread</property>
28 <!-- Echo all executed SQL statements to stdout -->
29 <property name="hibernate.show_sql">false</property>
31 <!-- mapping files -->
32 <mapping resource="org/splat/kernel/Persistent.hbm.xml" />
33 <mapping resource="org/splat/kernel/Any.hbm.xml" />
34 <mapping resource="org/splat/kernel/Entity.hbm.xml" />
35 <mapping resource="org/splat/kernel/Attribute.hbm.xml" />
36 <mapping resource="org/splat/kernel/Relation.hbm.xml" />
37 <mapping resource="org/splat/kernel/IDPool.hbm.xml" />
38 <mapping resource="org/splat/kernel/TextAttribute.hbm.xml" />
39 <mapping resource="org/splat/kernel/Text.hbm.xml" />
40 <mapping resource="org/splat/kernel/User.hbm.xml" />
42 <mapping resource="org/splat/som/ProjectElement.hbm.xml" />
43 <mapping resource="org/splat/som/Study.hbm.xml" />
44 <mapping resource="org/splat/som/Scenario.hbm.xml" />
45 <mapping resource="org/splat/som/Attributes.hbm.xml" />
46 <mapping resource="org/splat/som/Relations.hbm.xml" />
47 <mapping resource="org/splat/som/File.hbm.xml" />
48 <mapping resource="org/splat/som/Document.hbm.xml" />
49 <mapping resource="org/splat/som/Publication.hbm.xml" />
50 <mapping resource="org/splat/som/ValidationCycle.hbm.xml" />
51 <mapping resource="org/splat/som/Timestamp.hbm.xml" />
52 <mapping resource="org/splat/som/SimulationContext.hbm.xml" />
53 <mapping resource="org/splat/som/KnowledgeElement.hbm.xml" />
54 <mapping resource="org/splat/som/IDBuilder.hbm.xml" />
58 </hibernate-configuration>