-
Book Overview & Buying
-
Table Of Contents
Apache OfBiz Cookbook
To effectively manage an unlimited number of entities, databases, and database connections, the Entity Engine groups together entities that map to tables on the same physical database. For example, out-of-the-box, all the OFBiz ERP entities that are physically implemented as tables on the Derby database are grouped together in the org.ofbiz entity group.
There is no need to create new entity groups if your entities will be part of the OFBiz schema. You can use the default OFBiz instance group-name of org.ofbiz.
To add more entities that are not part of the Derby entity group, or if you wish to separate out your entities into different entity groups, create new entity groups as shown here:
1. Within the entityengine.xml file (~framework/entity/config/entityengine.xml), define a delegator for the group with a pointer to the datasource database configuration element. Each delegator is defined with a delegator element as shown here:
<delegator...
Change the font size
Change margin width
Change background colour