Adrian,

Thank you for your help.  That resolved my problem.  After adding the 
datasource to the default delegator, and adding a new group and entity my code 
worked.

Jed.

On Monday 29 October 2007 11:43:59 am Adrian Crum wrote:
> Jed,
> 
> It looks to me like you're doing things the hard way. It would be simpler to 
> use the Entity Engine 
> to gain access to the other database.
> 
> 1. Create entity definitions for the external database like you would for an 
> OFBiz entity (except 
> use the no-auto-stamp="true" attribute).
> 2. Assign the entities to a different group (in entitygroup.xml), "advertpro" 
> for example.
> 3. Assign the "mysql-advertpro" datasource the the default delegator:
>       <group-map group-name="advertpro" datasource-name="mysql-advertpro"/>
> 4. Use the delegator to access the external database.
> 
> -Adrian


Reply via email to