[Zope-DB] opening and closing a database connection from a
dtml-method
Thomas_Janke@prisma-edv.de
Thomas_Janke@prisma-edv.de
Thu, 20 Sep 2001 08:13:23 +0200
-----------
This is actually a lot trickier than you might think with Zope. The
reason is that Zope's RDBMS support does not have an "administrativly
closed" state on connections -- each time a connection is needed, it
will be opened if it is not already open. So, if you acquire a
connection object (e.g. by name) and replace its connection string with
an invalid one, you'll "close" the connection -- but that's not really
what you want, I dont think.
----------
How exactly do I replace a connections connection string?
Yours