root/test/cfg/hibernate.xml

Revision d193343aaaab784c36e2abe3c18578f7861f46d7, 0.8 kB (checked in by Christopher Jung <bktheg@web.de>, 11 months ago)

Basis fuer DB-basierte Tests hinzugefuegt

  • Property mode set to 100644
Line 
1 <!DOCTYPE hibernate-configuration PUBLIC
2         "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
3         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
4
5 <hibernate-configuration>
6         <session-factory>
7                 <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
8                
9         <!-- SQL dialect -->
10         <property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
11
12         <!-- Enable Hibernate's automatic session context management -->
13         <property name="current_session_context_class">thread</property>
14        
15                 <!-- Disable the second-level cache  -->
16         <property name="cache.use_second_level_cache">false</property>
17        
18         <!-- Echo all executed SQL to stdout -->
19         <property name="show_sql">true</property>
20         </session-factory>
21 </hibernate-configuration>
Note: See TracBrowser for help on using the browser.