banaouas.medialog at wanadoo
Jun 8, 2006, 12:57 AM
Post #1 of 4
May be "dynamically database connection" means that we use the same "Z
[Fwd: Re: Multiple databases connection]
SQL Method" with different database connections (in the same Zope
Instance, of course). So we can change "dynamically" from one database
to another (schema-equal).
In other words, is it possible to define "database connection" property
of a "Z SQL Method" like we do for parameters ?
On mer, 2006-06-07 at 18:49 -0700, Infor Gates wrote:
> Is there anyway where we can have a dynamically database connection to
> each branch database with only one zope application (instead of
> multiples of the same application).
> We are using Zope 2.8.6, Postgresql 8.0.4 with Psycopg-1.1.21
I don't understand what you mean by "dynamically database connection",
but Zope supports connections to multiple databases by simply creating
muiltiple connections objects ("Z Psycopg Connection" objects in your
Zope-DB mailing list
Zope-DB [at] zope