Subversion Repositories WebE

Rev

Rev 19 | Rev 31 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19 Rev 21
Line 18... Line 18...
18
                <property name="format_sql">true</property>
18
                <property name="format_sql">true</property>
19
                <!--
19
                <!--
20
                <property name="connection.provider_class">
20
                <property name="connection.provider_class">
21
                        org.hibernate.connection.C3P0ConnectionProvider
21
                        org.hibernate.connection.C3P0ConnectionProvider
22
                </property>-->
22
                </property>-->
23
                <!-- C3P0 connection pool
23
                <!-- C3P0 connection pool -->
24
                <property name="hibernate.c3p0.min_size">5</property>
24
                <property name="hibernate.c3p0.min_size">5</property>
25
                <property name="hibernate.c3p0.max_size">20</property>
25
                <property name="hibernate.c3p0.max_size">20</property>
26
                <property name="hibernate.c3p0.timeout">300</property>
26
                <property name="hibernate.c3p0.timeout">300</property>
27
                <property name="hibernate.c3p0.max_statements">50 </property>
27
                <property name="hibernate.c3p0.max_statements">50 </property>
28
                <property name="hibernate.c3p0.idle_test_period">3000 </property>
28
                <property name="hibernate.c3p0.idle_test_period">3000 </property>
29
                -->
29
               
30
                <!--<property name="hbm2ddl.auto">create</property>-->
30
                <!--<property name="hbm2ddl.auto">create</property>-->
-
 
31
                <mapping class="ch.ffhs.webE.domain.ActionType" />
-
 
32
                <mapping class="ch.ffhs.webE.domain.History" />
-
 
33
                <mapping class="ch.ffhs.webE.domain.Object" />
-
 
34
                <mapping class="ch.ffhs.webE.domain.ObjectType" />
-
 
35
                <mapping class="ch.ffhs.webE.domain.Relationship" />
-
 
36
                <mapping class="ch.ffhs.webE.domain.RelationshipType" />
-
 
37
                <mapping class="ch.ffhs.webE.domain.Term" />
31
                <mapping class="ch.ffhs.webE.domain.User" />
38
                <mapping class="ch.ffhs.webE.domain.User" />
32
        </session-factory>
39
        </session-factory>
33
</hibernate-configuration>
40
</hibernate-configuration>