16 Nov
2006
16 Nov
'06
7:10 p.m.
Could somebody tell me how to close/open a database connection through python instructions? If you want to close database connections from Zope then it may be not so easy. Depends on DatabaseAdapter how it is resolved. I mean that Zope DatabaseAdapters usually use volatile attributes like _v_db_connection bound to specific ZODB connection's - thus this may be difficult to definitely close all opened connections.
There is Zope-DB list for database specific questions. -- Maciej Wisniowski