当有符合主键时,一方与多方的复合主键顺序必须一致:
<set>
<key>
<column name="A" />
<column name="B" />
<key>
<one-to-many class="" />
</set>
<many-to-one name="" class="">
<column name="A" />
<column name="B" />
<many-to-one/>
时间: 2024-10-18 12:58:41
当有符合主键时,一方与多方的复合主键顺序必须一致:
<set>
<key>
<column name="A" />
<column name="B" />
<key>
<one-to-many class="" />
</set>
<many-to-one name="" class="">
<column name="A" />
<column name="B" />
<many-to-one/>