Mercurial > hg > ismi-richfaces
annotate src/main/resources/hibernate.cfg.xml.template @ 84:e2f6ccc4d322
add "remove codex" button to digitalization form.
author | casties |
---|---|
date | Wed, 28 Sep 2016 10:47:39 +0200 |
parents | 403afc3d94eb |
children |
rev | line source |
---|---|
2 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | |
3 <hibernate-configuration> | |
4 <session-factory> | |
59
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
5 |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
6 <!-- C3p0 --> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
7 <property name="hibernate.c3p0.acquire_increment">1</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
8 <property name="hibernate.c3p0.idle_test_period">300</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
9 <property name="hibernate.c3p0.timeout">120</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
10 <property name="hibernate.c3p0.max_size">25</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
11 <property name="hibernate.c3p0.min_size">1</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
12 <property name="hibernate.c3p0.max_statement">0</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
13 <property name="hibernate.c3p0.preferredTestQuery">select 1;</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
14 |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
15 <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
16 |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
17 <!-- <property name="show_sql">true</property> --> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
18 <!-- <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property> --> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
19 |
2 | 20 <property name="hibernate.dialect">org.mpi.openmind.repository.utils.CustomMysqlDialect</property> |
21 <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property> | |
22 <property name="hibernate.connection.url">jdbc:mysql://localhost/openmind?characterEncoding=UTF-8</property> | |
59
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
23 <property name="hibernate.connection.charSet">UTF-8</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
24 <property name="hibernate.connection.username">root</property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
25 <property name="hibernate.connection.password"></property> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
26 |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
27 <!-- <property name="show_sql">true</property> --> |
2 | 28 <property name="current_session_context_class">thread</property> |
59
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
29 <!-- <property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property> --> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
30 <!-- <property name="hbm2ddl.auto">create</property> --> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
31 <!-- <property name="hibernate.hbm2ddl.auto">validate</property> --> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
32 |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
33 |
2 | 34 <mapping class="org.mpi.openmind.repository.bo.Node" /> |
35 <mapping class="org.mpi.openmind.repository.bo.Attribute" /> | |
36 <mapping class="org.mpi.openmind.repository.bo.Entity" /> | |
37 <mapping class="org.mpi.openmind.repository.bo.Relation" /> | |
38 <mapping class="org.mpi.openmind.repository.bo.View" /> | |
59
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
39 <mapping class="org.mpi.openmind.repository.bo.ViewerAttribute" /> |
403afc3d94eb
delete config files of instance in repo. copy *.template and edit in instance.
casties
parents:
2
diff
changeset
|
40 <mapping class="org.mpi.openmind.repository.bo.ViewerPage" /> |
2 | 41 <mapping class="org.mpi.openmind.repository.bo.utils.Sequence" /> |
42 <mapping class="org.mpi.openmind.security.bo.User" /> | |
43 <mapping class="org.mpi.openmind.security.bo.Group" /> | |
44 <mapping class="org.mpi.openmind.security.bo.Role" /> | |
45 <mapping class="org.mpi.openmind.security.bo.Permission" /> | |
46 <mapping class="org.mpi.openmind.security.bo.utils.UserRole" /> | |
47 <mapping class="org.mpi.openmind.security.bo.utils.GroupRole" /> | |
48 <mapping class="org.mpi.openmind.security.bo.utils.UserGroup" /> | |
49 <mapping class="org.mpi.openmind.security.bo.utils.RolePermission" /> | |
50 </session-factory> | |
51 </hibernate-configuration> |