<?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 by MyEclipse Hibernate Tools. -->
<hibernate-configuration>
<session-factory>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.url">jdbc:mysql://localhost:3306/youbuysdb</property>
<property name="connection.username">root</property>
<property name="connection.password">123</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<!--数据库连接池的大小-->
<property name="hibernate.connection.pool.size">20</property>
<!-- 指定hibernate的配置文件 -->
<mapping resource="com/hibernate/bean/Roles.hbm.xml" />
<mapping resource="com/hibernate/bean/Education.hbm.xml" />
<mapping resource="com/hibernate/bean/ProductEvaluate.hbm.xml" />
<mapping resource="com/hibernate/bean/City.hbm.xml" />
<mapping resource="com/hibernate/bean/Permission.hbm.xml" />
<mapping resource="com/hibernate/bean/Module.hbm.xml" />
<mapping resource="com/hibernate/bean/Province.hbm.xml" />
<mapping resource="com/hibernate/bean/Producttype.hbm.xml" />
<mapping resource="com/hibernate/bean/Shopstore.hbm.xml" />
<mapping resource="com/hibernate/bean/Product.hbm.xml" />
<mapping resource="com/hibernate/bean/Blood.hbm.xml" />
<mapping resource="com/hibernate/bean/Orderform.hbm.xml" />
<mapping resource="com/hibernate/bean/Vocation.hbm.xml" />
<mapping resource="com/hibernate/bean/Star.hbm.xml" />
<mapping resource="com/hibernate/bean/Region.hbm.xml" />
<mapping resource="com/hibernate/bean/Street.hbm.xml" />
<mapping resource="com/hibernate/bean/Producttypeitem.hbm.xml" />
<mapping resource="com/hibernate/bean/Users.hbm.xml" />
</session-factory>
</hibernate-configuration>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Generated by MyEclipse Hibernate Tools. -->
<hibernate-configuration>
<session-factory>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.url">jdbc:mysql://localhost:3306/youbuysdb</property>
<property name="connection.username">root</property>
<property name="connection.password">123</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<!--数据库连接池的大小-->
<property name="hibernate.connection.pool.size">20</property>
<!-- 指定hibernate的配置文件 -->
<mapping resource="com/hibernate/bean/Roles.hbm.xml" />
<mapping resource="com/hibernate/bean/Education.hbm.xml" />
<mapping resource="com/hibernate/bean/ProductEvaluate.hbm.xml" />
<mapping resource="com/hibernate/bean/City.hbm.xml" />
<mapping resource="com/hibernate/bean/Permission.hbm.xml" />
<mapping resource="com/hibernate/bean/Module.hbm.xml" />
<mapping resource="com/hibernate/bean/Province.hbm.xml" />
<mapping resource="com/hibernate/bean/Producttype.hbm.xml" />
<mapping resource="com/hibernate/bean/Shopstore.hbm.xml" />
<mapping resource="com/hibernate/bean/Product.hbm.xml" />
<mapping resource="com/hibernate/bean/Blood.hbm.xml" />
<mapping resource="com/hibernate/bean/Orderform.hbm.xml" />
<mapping resource="com/hibernate/bean/Vocation.hbm.xml" />
<mapping resource="com/hibernate/bean/Star.hbm.xml" />
<mapping resource="com/hibernate/bean/Region.hbm.xml" />
<mapping resource="com/hibernate/bean/Street.hbm.xml" />
<mapping resource="com/hibernate/bean/Producttypeitem.hbm.xml" />
<mapping resource="com/hibernate/bean/Users.hbm.xml" />
</session-factory>
</hibernate-configuration>