<composite-id name="comp_id" class="com.comstars.hibernate.databean.TdCorpsacleRelPK">
<key-property
name="corpid"
column="CORPID"
type="java.lang.Integer"
length="22"
/>
<key-property
name="scaleid"
column="SCALEID"
type="java.lang.Integer"
length="22"
/>
</composite-id>
<key-property
name="corpid"
column="CORPID"
type="java.lang.Integer"
length="22"
/>
<key-property
name="scaleid"
column="SCALEID"
type="java.lang.Integer"
length="22"
/>
</composite-id>
在 表对应的pojo类中引用此对象