Author: jonesde
Date: Fri Sep 7 22:33:55 2007 New Revision: 573786 URL: http://svn.apache.org/viewvc?rev=573786&view=rev Log: Added sequence-bank-size for certain higher traffic entities Modified: ofbiz/trunk/framework/service/entitydef/entitymodel.xml ofbiz/trunk/framework/webapp/entitydef/entitymodel.xml Modified: ofbiz/trunk/framework/service/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/entitydef/entitymodel.xml?rev=573786&r1=573785&r2=573786&view=diff ============================================================================== --- ofbiz/trunk/framework/service/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/framework/service/entitydef/entitymodel.xml Fri Sep 7 22:33:55 2007 @@ -40,47 +40,46 @@ <!-- org.ofbiz.service.schedule --> <!-- ========================================================= --> - <entity entity-name="JobSandbox" - package-name="org.ofbiz.service.schedule" - title="Job Scheduler Sandbox Entity"> - <field name="jobId" type="id-ne"></field> - <field name="jobName" type="name"></field> - <field name="runTime" type="date-time"></field> - <field name="poolId" type="name"></field> - <field name="statusId" type="id"></field> - <field name="parentJobId" type="id"></field> - <field name="previousJobId" type="id"></field> - <field name="serviceName" type="name"></field> - <field name="loaderName" type="name"></field> - <field name="maxRetry" type="numeric"></field> - <field name="authUserLoginId" type="id-vlong"></field> - <field name="runAsUser" type="id-vlong"></field> - <field name="runtimeDataId" type="id"></field> - <field name="recurrenceInfoId" type="id"></field> - <field name="runByInstanceId" type="id"></field> - <field name="startDateTime" type="date-time"></field> - <field name="finishDateTime" type="date-time"></field> - <field name="cancelDateTime" type="date-time"></field> - <prim-key field="jobId"/> - <relation type="one" fk-name="JOB_SNDBX_RECINFO" rel-entity-name="RecurrenceInfo"> - <key-map field-name="recurrenceInfoId"/> - </relation> - <relation type="one" fk-name="JOB_SNDBX_RNTMDTA" rel-entity-name="RuntimeData"> - <key-map field-name="runtimeDataId"/> - </relation> - <relation type="one" fk-name="JOB_SNDBX_AUSRLGN" title="Auth" rel-entity-name="UserLogin"> - <key-map field-name="authUserLoginId" rel-field-name="userLoginId"/> - </relation> - <relation type="one" fk-name="JOB_SNDBX_USRLGN" title="RunAs" rel-entity-name="UserLogin"> - <key-map field-name="runAsUser" rel-field-name="userLoginId"/> - </relation> - <relation type="one" fk-name="JOB_SNDBX_STTS" rel-entity-name="StatusItem"> - <key-map field-name="statusId"/> - </relation> - <index name="JOB_SNDBX_RUNSTAT"> - <index-field name="runByInstanceId"/> - <index-field name="statusId"/> - </index> + <entity entity-name="JobSandbox" package-name="org.ofbiz.service.schedule" title="Job Scheduler Sandbox Entity" + sequence-bank-size="100"> + <field name="jobId" type="id-ne"></field> + <field name="jobName" type="name"></field> + <field name="runTime" type="date-time"></field> + <field name="poolId" type="name"></field> + <field name="statusId" type="id"></field> + <field name="parentJobId" type="id"></field> + <field name="previousJobId" type="id"></field> + <field name="serviceName" type="name"></field> + <field name="loaderName" type="name"></field> + <field name="maxRetry" type="numeric"></field> + <field name="authUserLoginId" type="id-vlong"></field> + <field name="runAsUser" type="id-vlong"></field> + <field name="runtimeDataId" type="id"></field> + <field name="recurrenceInfoId" type="id"></field> + <field name="runByInstanceId" type="id"></field> + <field name="startDateTime" type="date-time"></field> + <field name="finishDateTime" type="date-time"></field> + <field name="cancelDateTime" type="date-time"></field> + <prim-key field="jobId"/> + <relation type="one" fk-name="JOB_SNDBX_RECINFO" rel-entity-name="RecurrenceInfo"> + <key-map field-name="recurrenceInfoId"/> + </relation> + <relation type="one" fk-name="JOB_SNDBX_RNTMDTA" rel-entity-name="RuntimeData"> + <key-map field-name="runtimeDataId"/> + </relation> + <relation type="one" fk-name="JOB_SNDBX_AUSRLGN" title="Auth" rel-entity-name="UserLogin"> + <key-map field-name="authUserLoginId" rel-field-name="userLoginId"/> + </relation> + <relation type="one" fk-name="JOB_SNDBX_USRLGN" title="RunAs" rel-entity-name="UserLogin"> + <key-map field-name="runAsUser" rel-field-name="userLoginId"/> + </relation> + <relation type="one" fk-name="JOB_SNDBX_STTS" rel-entity-name="StatusItem"> + <key-map field-name="statusId"/> + </relation> + <index name="JOB_SNDBX_RUNSTAT"> + <index-field name="runByInstanceId"/> + <index-field name="statusId"/> + </index> </entity> <entity entity-name="RecurrenceInfo" package-name="org.ofbiz.service.schedule" @@ -121,12 +120,10 @@ <field name="xName" type="very-long"></field> <prim-key field="recurrenceRuleId"/> </entity> - <entity entity-name="RuntimeData" - package-name="org.ofbiz.service.schedule" - title="Runtime Data Entity"> - <field name="runtimeDataId" type="id-ne"></field> - <field name="runtimeInfo" type="very-long"></field> - <prim-key field="runtimeDataId"/> + <entity entity-name="RuntimeData" package-name="org.ofbiz.service.schedule" title="Runtime Data Entity" + sequence-bank-size="100"> + <field name="runtimeDataId" type="id-ne"></field> + <field name="runtimeInfo" type="very-long"></field> + <prim-key field="runtimeDataId"/> </entity> </entitymodel> - Modified: ofbiz/trunk/framework/webapp/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/entitydef/entitymodel.xml?rev=573786&r1=573785&r2=573786&view=diff ============================================================================== --- ofbiz/trunk/framework/webapp/entitydef/entitymodel.xml (original) +++ ofbiz/trunk/framework/webapp/entitydef/entitymodel.xml Fri Sep 7 22:33:55 2007 @@ -69,7 +69,7 @@ never-cache="true" title="Server Hit Entity"> <field name="visitId" type="id-ne"></field> - <field name="contentId" type="id-vlong-ne"></field> + <field name="contentId" type="id-vlong-ne"><!-- 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> <field name="hitTypeId" type="id-ne"></field> <field name="numOfBytes" type="numeric"></field> @@ -97,10 +97,7 @@ <key-map field-name="userLoginId"/> </relation> </entity> - <entity entity-name="ServerHitBin" - package-name="org.ofbiz.webapp.visit" - never-cache="true" - title="Server Hit Bin Entity"> + <entity entity-name="ServerHitBin" package-name="org.ofbiz.webapp.visit" never-cache="true" title="Server Hit Bin Entity"> <field name="serverHitBinId" type="id-ne"></field> <field name="contentId" type="id-vlong-ne"></field> <field name="hitTypeId" type="id-ne"></field> @@ -165,7 +162,8 @@ <field name="description" type="description"></field> <prim-key field="userAgentTypeId"/> </entity> - <entity entity-name="Visit" package-name="org.ofbiz.webapp.visit" never-cache="true" title="Visit Entity"> + <entity entity-name="Visit" package-name="org.ofbiz.webapp.visit" never-cache="true" title="Visit Entity" + sequence-bank-size="100"> <field name="visitId" type="id-ne"></field> <field name="visitorId" type="id"></field> <field name="userLoginId" type="id-vlong"></field> @@ -206,7 +204,8 @@ <index-field name="thruDate"/> </index> </entity> - <entity entity-name="Visitor" package-name="org.ofbiz.webapp.visit" title="Visitor Entity"> + <entity entity-name="Visitor" package-name="org.ofbiz.webapp.visit" title="Visitor Entity" + sequence-bank-size="100"> <field name="visitorId" type="id-ne"></field> <field name="userLoginId" type="id-vlong"></field> <prim-key field="visitorId"/> |
Free forum by Nabble | Edit this page |