改下映射文件中的schema
<class name="Dept" table="Dept" schema="system">
<id name="deptNo" type="java.lang.Integer">
<column name="DeptNo"></column>
<generator class="assigned" />
</id>
<property name="deptName" type="java.lang.String">
<column name="DeptName"></column>
</property>
<property name="location" type="java.lang.String">
<column name="Location" />
</property>
<set name="emps" cascade="delete">
<key column="DEPTNO"></key>
<one-to-many class="Emp" />
</set>
</class>