[OFBiz] Dev - Re: [OFBiz] Entity Delgator Name
David Jones
jonesde at ofbiz.org
Tue Aug 3 09:46:27 EDT 2004
While you can change delegator names in each webapp, for switching
between databases I never do that. I generally just have both (or more)
datasources setup, and just switch datasources for the "default"
delegator.
-David
On Aug 3, 2004, at 6:31 AM, mpf at zentric.com wrote:
> All developers that need to jump between production and test
> environment
>
> Is there a central way to configure the entity delagator name for a
> ofbiz instance for all components?.
> Maybe in one of those property files or a a comandline arg...
>
> Goal: Want to start our development instance against a test and a
> production db
>
> >From what I see the delegator can only be configured on the
> component level in the web.xml of each component
> <web-app>
> <display-name>Open For Business - Manufacturing Manager</display-name>
> <description>Manufacturing Manager Module by TAU Informatica
> srl</description>
>
> <context-param>
> <param-name>entityDelegatorName</param-name>
> <param-value>default</param-value>
> <description>The Name of the Entity Delegator to use, defined in
> entityengine.xml</description>
> </context-param>
> ....
> </web-app>
>
> However this should very flexible too, because it allows to test
> specific components against a mixed (test / production) data
> environment.
> mmh but what about the PKs then
>
> mit freundlichen Grüssen/ Kind regards / muchos saludos
> --
> Dipl. Wirt.-Ing. (FH) Michael Pfurtscheller, Geschäftsführer
> zentric GmbH & Co. KG
> mobil: +49-172-5457143
> fon: +49-6101-556060
> fax: +49-6101-556065
> icq# 8724822
> mailto:michael.pfurtscheller at zentric.com
> http://www.zentric.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2363 bytes
Desc: not available
Url : http://lists.ofbiz.org/pipermail/dev/attachments/20040803/d1bb648c/smime.bin
More information about the Dev
mailing list