<set name="codeSelects" inverse="true" cascade="save-update" fetch="join" order-by="sort asc,value asc">
<key>
<column name="code_id" length="50" />
</key>
<one-to-many class="cn.threenet.eeoa.bean.CodeSelect" />
</set>
这是配置文件的set代码