Rev 19 | Go to most recent revision | Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line | 
|---|---|---|---|
| 18 | moos | 1 | <?xml version="1.0" encoding="UTF-8"?> | 
        
| 2 | <!DOCTYPE hibernate-configuration PUBLIC | 
        ||
| 3 |                 "-//Hibernate/Hibernate Configuration DTD 3.0//EN" | 
        ||
| 4 |                 "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> | 
        ||
| 5 | <hibernate-configuration> | 
        ||
| 6 |         <session-factory> | 
        ||
| 7 | <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>  | 
        ||
| 8 | |||
| 9 | <property name="hibernate.connection.url">jdbc:mysql://localhost/webengineering</property>  | 
        ||
| 10 | <property name="hibernate.connection.username">webEngineering</property>  | 
        ||
| 11 | <property name="connection.password">ontologie</property>  | 
        ||
| 12 | |||
| 13 | <property name="connection.pool_size">1</property>  | 
        ||
| 14 | <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>  | 
        ||
| 15 | <property name="show_sql">true</property>  | 
        ||
| 16 | <property name="hbm2ddl.auto">create</property>  | 
        ||
| 17 |                 <mapping class="ch.ffhs.webE.domain.User" /> | 
        ||
| 18 |         </session-factory> | 
        ||
| 19 | </hibernate-configuration> |