[Fwd: Re: Multiple databases connection]

"m.banaouas" <[email protected]>
Newsgroups gmane.comp.web.zope.database
Organization medialog
Message-ID <[email protected]>
May be "dynamically database connection" means that we use the same "Z 
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 ?
thanks.



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
 > connector.

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
case).

federico
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.