<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<!-- 
    Mapping file autogenerated by MyEclipse Persistence Tools
-->
<hibernate-mapping>
    <class name="org.entity.Dept" table="dept" catalog="testdb">
        <id name="id" type="java.lang.Integer">
            <column name="id" />
            <generator class="assigned" />
        </id>
        <property name="name" type="java.lang.String">
            <column name="name" length="50" />
        </property>
        <property name="loc" type="java.lang.String">
            <column name="loc" length="50" />
        </property>
        <set name="emps" inverse="true">
            <key>
                <column name="did" />
            </key>
            <one-to-many class="org.entity.Emp" />
        </set>
    </class>
</hibernate-mapping>