hibernate中一般coulum=userId class="com.zb.User" 一般用user对象来映射表中的userId
<many-to-one name="university" class="com.zb.domain.University" fetch="select">
<column name="universityId" />
</many-to-one>
<many-to-one name="users" class="com.zb.domain.Users" fetch="select">
<column name="userId" />
</many-to-one>
<property name="uniYear" type="java.lang.Integer">
<column name="uniYear" />
</property>