1
我想創建一個索引或複合索引爲XML文件上的集合的多個列。有沒有適當的方法來做到這一點?我無法找到任何相關的東西。我看到它可能在SQL上。是否可以爲多個列創建一個索引? hiberanate
這是我的例子;
<set name="properties" fetch="join" lazy="false" table="PLN_DEMAND_ORDER_ITM_PROPERTY">
<key>
<column name="ORDER_ID" index="IDX_PLN_DOIP_ORDER_ID"/> <=
<column name="LINE_NO" index="IDX_PLN_DOIP_ORDER_ID"/> <= for both column only one index is needed
</key>
.
.
.
</set>