annotate src/main/resources/hibernate.cfg.xml @ 17:ac466a164b61

new arabic translit normalizer works now.
author casties
date Wed, 13 May 2015 15:58:23 +0000
parents 8ce07918ec8a
children ba3742584f93
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4
jurzua
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
jurzua
parents:
diff changeset
2 <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
jurzua
parents:
diff changeset
3 <hibernate-configuration>
jurzua
parents:
diff changeset
4 <session-factory>
jurzua
parents:
diff changeset
5
jurzua
parents:
diff changeset
6 <!-- C3p0 -->
jurzua
parents:
diff changeset
7 <property name="hibernate.c3p0.acquire_increment">1</property>
jurzua
parents:
diff changeset
8 <property name="hibernate.c3p0.idle_test_period">300</property>
jurzua
parents:
diff changeset
9 <property name="hibernate.c3p0.timeout">120</property>
jurzua
parents:
diff changeset
10 <property name="hibernate.c3p0.max_size">25</property>
jurzua
parents:
diff changeset
11 <property name="hibernate.c3p0.min_size">1</property>
jurzua
parents:
diff changeset
12 <property name="hibernate.c3p0.max_statement">0</property>
jurzua
parents:
diff changeset
13 <property name="hibernate.c3p0.preferredTestQuery">select 1;</property>
jurzua
parents:
diff changeset
14
jurzua
parents:
diff changeset
15 <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
jurzua
parents:
diff changeset
16
jurzua
parents:
diff changeset
17 <!-- <property name="show_sql">true</property> -->
jurzua
parents:
diff changeset
18 <!-- <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> -->
jurzua
parents:
diff changeset
19
jurzua
parents:
diff changeset
20 <property name="hibernate.dialect">org.mpi.openmind.repository.utils.CustomMysqlDialect</property>
jurzua
parents:
diff changeset
21 <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
jurzua
parents:
diff changeset
22 <property name="hibernate.connection.url">jdbc:mysql://localhost/openmind?characterEncoding=UTF-8</property>
jurzua
parents:
diff changeset
23 <property name="hibernate.connection.charSet">UTF-8</property>
jurzua
parents:
diff changeset
24 <property name="hibernate.connection.username">root</property>
jurzua
parents:
diff changeset
25 <property name="hibernate.connection.password">admin</property>
jurzua
parents:
diff changeset
26 <!--
jurzua
parents:
diff changeset
27 <property name="hibernate.connection.username">ismi</property>
jurzua
parents:
diff changeset
28 <property name="hibernate.connection.password">ismipw</property>
jurzua
parents:
diff changeset
29 <property name="hibernate.connection.username">root</property>
jurzua
parents:
diff changeset
30 <property name="hibernate.connection.password">e1nste1n</property>
jurzua
parents:
diff changeset
31 -->
jurzua
parents:
diff changeset
32
jurzua
parents:
diff changeset
33 <!-- <property name="show_sql">true</property> -->
jurzua
parents:
diff changeset
34 <property name="current_session_context_class">thread</property>
jurzua
parents:
diff changeset
35 <!-- <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property> -->
jurzua
parents:
diff changeset
36 <!-- <property name="hbm2ddl.auto">create</property> -->
jurzua
parents:
diff changeset
37
jurzua
parents:
diff changeset
38 <mapping class="org.mpi.openmind.repository.bo.Node" />
jurzua
parents:
diff changeset
39 <mapping class="org.mpi.openmind.repository.bo.Attribute" />
jurzua
parents:
diff changeset
40 <mapping class="org.mpi.openmind.repository.bo.Entity" />
jurzua
parents:
diff changeset
41 <mapping class="org.mpi.openmind.repository.bo.Relation" />
jurzua
parents:
diff changeset
42 <mapping class="org.mpi.openmind.repository.bo.View" />
jurzua
parents:
diff changeset
43 <mapping class="org.mpi.openmind.repository.bo.ViewerAttribute" />
jurzua
parents:
diff changeset
44 <mapping class="org.mpi.openmind.repository.bo.ViewerPage" />
jurzua
parents:
diff changeset
45 <mapping class="org.mpi.openmind.repository.bo.utils.Sequence" />
jurzua
parents:
diff changeset
46 <mapping class="org.mpi.openmind.security.bo.User" />
jurzua
parents:
diff changeset
47 <mapping class="org.mpi.openmind.security.bo.Group" />
jurzua
parents:
diff changeset
48 <mapping class="org.mpi.openmind.security.bo.Role" />
jurzua
parents:
diff changeset
49 <mapping class="org.mpi.openmind.security.bo.Permission" />
jurzua
parents:
diff changeset
50 <mapping class="org.mpi.openmind.security.bo.utils.UserRole" />
jurzua
parents:
diff changeset
51 <mapping class="org.mpi.openmind.security.bo.utils.GroupRole" />
jurzua
parents:
diff changeset
52 <mapping class="org.mpi.openmind.security.bo.utils.UserGroup" />
jurzua
parents:
diff changeset
53 <mapping class="org.mpi.openmind.security.bo.utils.RolePermission" />
jurzua
parents:
diff changeset
54 </session-factory>
jurzua
parents:
diff changeset
55 </hibernate-configuration>