svn commit: r1801343 - /ofbiz/ofbiz-framework/trunk/framework/webapp/entitydef/entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1801343 - /ofbiz/ofbiz-framework/trunk/framework/webapp/entitydef/entitymodel.xml

Arun Patidar-4
Author: arunpatidar
Date: Sat Jul  8 23:55:33 2017
New Revision: 1801343

URL: http://svn.apache.org/viewvc?rev=1801343&view=rev
Log:
Improved: Cut of unnecessary auto-stamp fields from Visit, ServerHit and ServerHitBin. (OFBIZ-9402)

Thanks Martin for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/framework/webapp/entitydef/entitymodel.xml

Modified: ofbiz/ofbiz-framework/trunk/framework/webapp/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/webapp/entitydef/entitymodel.xml?rev=1801343&r1=1801342&r2=1801343&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/webapp/entitydef/entitymodel.xml (original)
+++ ofbiz/ofbiz-framework/trunk/framework/webapp/entitydef/entitymodel.xml Sat Jul  8 23:55:33 2017
@@ -65,7 +65,7 @@ under the License.
     <entity entity-name="ServerHit"
             package-name="org.apache.ofbiz.webapp.visit"
             never-cache="true"
-            title="Server Hit Entity">
+            title="Server Hit Entity" no-auto-stamp="true">
       <field name="visitId" type="id"></field>
       <field name="contentId" type="id-vlong"><!-- This is called contentId but has nothing to do with the Content entity in many cases. The value can vary. For example for the ControlServlet request it is "${webapp-name}.${request-map-name}" --></field>
       <field name="hitStartDateTime" type="date-time"></field>
@@ -89,7 +89,7 @@ under the License.
         <key-map field-name="visitId"/>
       </relation>
     </entity>
-    <entity entity-name="ServerHitBin" package-name="org.apache.ofbiz.webapp.visit" never-cache="true" title="Server Hit Bin Entity">
+    <entity entity-name="ServerHitBin" package-name="org.apache.ofbiz.webapp.visit" never-cache="true" title="Server Hit Bin Entity" no-auto-stamp="true">
       <field name="serverHitBinId" type="id"></field>
       <field name="contentId" type="id-vlong-ne"></field>
       <field name="hitTypeId" type="id-ne"></field>
@@ -155,7 +155,7 @@ under the License.
       <prim-key field="userAgentTypeId"/>
     </entity>
     <entity entity-name="Visit" package-name="org.apache.ofbiz.webapp.visit" never-cache="true" title="Visit Entity"
-        sequence-bank-size="100">
+        sequence-bank-size="100" no-auto-stamp="true">
         <field name="visitId" type="id"></field>
         <field name="visitorId" type="id"></field>
         <field name="userLoginId" type="id-vlong"></field>