29 lines
1.1 KiB
XML
29 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
|
|
|
|
<!-- Generated file - Do not edit! -->
|
|
|
|
<hibernate-configuration>
|
|
|
|
<!-- a SessionFactory instance listed as /jndi/name -->
|
|
<session-factory>
|
|
|
|
<!-- properties -->
|
|
<property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
|
|
<property name="show_sql">true</property>
|
|
<property name="use_outer_join">false</property>
|
|
<property name="connection.username">root</property>
|
|
<property name="connection.password">root</property>
|
|
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
|
|
<property name="connection.url">jdbc:mysql://localhost:3306/xdoclet</property>
|
|
|
|
<property name="hbm2ddl">create-update</property>
|
|
<property name="format_sql">true</property>
|
|
|
|
<!-- mapping files -->
|
|
<mapping resource="com/xdoclet/model/Group.hbm.xml"/>
|
|
<mapping resource="com/xdoclet/model/User.hbm.xml"/>
|
|
</session-factory>
|
|
|
|
</hibernate-configuration>
|