1 <?xml version='1.0' encoding='utf-8'?>
2 <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
3 "http://hibernate.sourceforge.net/hibernate-configuration-2.0.dtd">
5 <hibernate-configuration>
9 <property name="connection.url">jdbc:postgresql:mir</property>
10 <property name="connection.driver_class">org.postgresql.Driver</property>
11 <property name="connection.username">postgres</property>
12 <property name="connection.password"></property>
13 <property name="connection.pool_size">10</property>
14 <property name="statement_cache.size">100</property>
15 <property name="show_sql">true</property>
16 <property name="use_outer_join">true</property>
17 <property name="dialect">net.sf.hibernate.dialect.PostgreSQLDialect</property>
19 <!-- Mapping files -->
20 <mapping resource="mir/core/model/ArticleType.hbm.xml"/>
21 <mapping resource="mir/core/model/Breaking.hbm.xml"/>
22 <mapping resource="mir/core/model/Comment.hbm.xml"/>
23 <mapping resource="mir/core/model/Content.hbm.xml"/>
24 <mapping resource="mir/core/model/CommentStatus.hbm.xml"/>
26 <mapping resource="mir/core/model/Feature.hbm.xml"/>
28 <mapping resource="mir/core/model/Language.hbm.xml"/>
29 <mapping resource="mir/core/model/Media.hbm.xml"/>
30 <mapping resource="mir/core/model/MediaFolder.hbm.xml"/>
31 <mapping resource="mir/core/model/MediaType.hbm.xml"/>
32 <mapping resource="mir/core/model/Message.hbm.xml"/>
33 <mapping resource="mir/core/model/Rights.hbm.xml"/>
34 <mapping resource="mir/core/model/Topic.hbm.xml"/>
36 <mapping resource="mir/core/model/TopicRich.hbm.xml"/>
38 <mapping resource="mir/core/model/WebdbUser.hbm.xml"/>
39 <mapping resource="mir/core/model/UploadedMedia.hbm.xml"/>
40 <mapping resource="mir/core/model/Image.hbm.xml"/>
41 <mapping resource="mir/core/model/Audio.hbm.xml"/>
42 <mapping resource="mir/core/model/Video.hbm.xml"/>
45 </hibernate-configuration>