working on struts/hibernate for content-admin
[mir.git] / etc / hibernate.cfg.xml
index 78baefe..9f2a995 100755 (executable)
@@ -6,25 +6,27 @@
 
     <session-factory>
 
-        <property name="connection.url">jdbc:postgresql:mir</property>
+        <property name="connection.url">jdbc:postgresql://localhost:5432/mir</property>
         <property name="connection.driver_class">org.postgresql.Driver</property>
-        <property name="connection.username">postgres</property>
+        <property name="connection.username">eppc</property>
         <property name="connection.password"></property>
         <property name="connection.pool_size">10</property>
         <property name="statement_cache.size">100</property>
-        <property name="show_sql">true</property>
+        <property name="show_sql">false</property>
         <property name="use_outer_join">true</property>
         <property name="dialect">net.sf.hibernate.dialect.PostgreSQLDialect</property>
         
         <!-- Mapping files -->
         <mapping resource="mir/core/model/ArticleType.hbm.xml"/>
+        <!--
+        <mapping resource="mir/core/model/TopicRich.hbm.xml"/>
+        <mapping resource="mir/core/model/TopicChild.hbm.xml"/>
+        -->
         <mapping resource="mir/core/model/Breaking.hbm.xml"/>
         <mapping resource="mir/core/model/Comment.hbm.xml"/>
         <mapping resource="mir/core/model/Content.hbm.xml"/>
         <mapping resource="mir/core/model/CommentStatus.hbm.xml"/>
-        <!--
         <mapping resource="mir/core/model/Feature.hbm.xml"/>
-        -->
         <mapping resource="mir/core/model/Language.hbm.xml"/>
         <mapping resource="mir/core/model/Media.hbm.xml"/>
         <mapping resource="mir/core/model/MediaFolder.hbm.xml"/>
@@ -32,9 +34,6 @@
         <mapping resource="mir/core/model/Message.hbm.xml"/>
         <mapping resource="mir/core/model/Rights.hbm.xml"/>
         <mapping resource="mir/core/model/Topic.hbm.xml"/>
-        <!--
-        <mapping resource="mir/core/model/TopicRich.hbm.xml"/>
-        -->
         <mapping resource="mir/core/model/WebdbUser.hbm.xml"/>
         <mapping resource="mir/core/model/UploadedMedia.hbm.xml"/>
         <mapping resource="mir/core/model/Image.hbm.xml"/>