test
[mir.git] / etc / hibernate.cfg.xml
index 2d5d4df..9f2a995 100755 (executable)
@@ -6,16 +6,22 @@
 
     <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">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"/>