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>