THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Create entity definitions for the external database like you would for an OFBiz entity (except use the no-auto-stamp="true" attribute).
- Assign the entities to a different group (in entitygroup.xml), "advertpromyExternalDB" for example.
- Create a datasource for the external database (in entityengine.xml), named "myExternalDB" for example.
- Assign the "mysql-advertpromyExternalDB" datasource and the "myExternalDB" entity group to the the default delegator: <group-map group-name="myExternalDB" datasource-name="myExternalDB"/>
- Use the default delegator to access the external database.
...