1) removed foreign key relationship from/to this group of entities and the other entities of the OFBiz data model; the fields are still available but they are not enforced by a foreign key constraint
2) removed one view entitiy joining Visit with Party entities and refactored the code that was using it in order to provide the same behavior
3) added a new entity group ("org.ofbiz.stats") for the Visit/Visitor/ServerHit* (and related) entities; for now the group is not active so that the entities are still in the same database as before; however assigning them to a different database is now a matter of uncommenting the group file definition in framework/webapp/ofbiz-component.xml and provide the new datasource definition
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1647271 13f79535-47bb-0310-9956-ffa450edef68
38 lines
1.6 KiB
XML
38 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
<entitygroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entitygroup.xsd">
|
|
|
|
<entity-group group="org.ofbiz.stats" entity="BrowserType"/>
|
|
<entity-group group="org.ofbiz.stats" entity="PlatformType"/>
|
|
<entity-group group="org.ofbiz.stats" entity="ProtocolType"/>
|
|
<entity-group group="org.ofbiz.stats" entity="ServerHit"/>
|
|
<entity-group group="org.ofbiz.stats" entity="ServerHitBin"/>
|
|
<entity-group group="org.ofbiz.stats" entity="ServerHitType"/>
|
|
<entity-group group="org.ofbiz.stats" entity="UserAgent"/>
|
|
<entity-group group="org.ofbiz.stats" entity="UserAgentMethodType"/>
|
|
<entity-group group="org.ofbiz.stats" entity="UserAgentType"/>
|
|
<entity-group group="org.ofbiz.stats" entity="Visit"/>
|
|
<entity-group group="org.ofbiz.stats" entity="Visitor"/>
|
|
|
|
</entitygroup>
|
|
|