Author: jonesde
Date: Tue May 1 05:35:16 2007
New Revision: 534038
URL:
http://svn.apache.org/viewvc?view=rev&rev=534038Log:
Added explicit index for commonly queried on value
Modified:
ofbiz/trunk/applications/product/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/product/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel.xml?view=diff&rev=534038&r1=534037&r2=534038==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Tue May 1 05:35:16 2007
@@ -455,6 +455,9 @@
<relation type="many" title="Sibling" rel-entity-name="ProductCategoryRollup">
<key-map field-name="parentProductCategoryId"/>
</relation>
+ <index name="PRDCR_PARPC">
+ <index-field name="parentProductCategoryId"/>
+ </index>
</entity>
<view-entity entity-name="ProductCategoryRollupAndRole"
package-name="org.ofbiz.product.category"