The OFBiz Entity Engine may service an unlimited number of database connections in addition to, or as a replacement for, the default embedded Derby database.
The following steps should be ensured:
1. If the databases do not already exist, be sure to create them prior to editing the
entityengine.xml
file. Collect necessary connection information per database, including database location information (IP address and port), database name, username, and password if necessary.2. Create one or more entity group definition(s) that assign a connection label using the
delegator
declaration to an Entity Engine reader. If you wish to create a new entity group definition file for the new entity model's group definitions, do so now.(Note: you can use an existing entity group definition file such as the one found in~framework/entity/entitydef/entitygroup.xml)
.3. If the entity model definitions do not exist for the target database tables, create one entity definition...