You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2009/11/05 20:22:16 UTC
svn commit: r833136 -
/ofbiz/trunk/applications/product/entitydef/entitymodel.xml
Author: jleroux
Date: Thu Nov 5 19:22:16 2009
New Revision: 833136
URL: http://svn.apache.org/viewvc?rev=833136&view=rev
Log:
Change the type of relation for Facilty to GeoPoint from one to many. Because of the elevation field in GeoPoint.
>From Adrian's remarks at https://issues.apache.org/jira/browse/OFBIZ-3153 - OFBIZ-3153
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?rev=833136&r1=833135&r2=833136&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel.xml Thu Nov 5 19:22:16 2009
@@ -1026,7 +1026,7 @@
<relation type="many" rel-entity-name="FacilityTypeAttr">
<key-map field-name="facilityTypeId"/>
</relation>
- <relation type="one" fk-name="FACILITY_GEOPT" title="Point" rel-entity-name="GeoPoint">
+ <relation type="many" fk-name="FACILITY_GEOPT" title="Point" rel-entity-name="GeoPoint"> <!-- because of the elevation field in GeoPoint we may face a many relationship in future -->
<key-map field-name="geoPointId"/>
</relation>
</entity>