I wanted to do it because for some reason, my oracle connector (DCOracle)
keeps disconnecting, and so I thought maybe it would be possible to define a
python method to periodically check on it and reconnect it if necessary.
I imagined it wouldn't be so easy, but anyways I think I may be capable of
convincing ppl at work to buy a mxodbc license...
Maciej Wisniowski wrote:
>> 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
> Zope maillist - Zope@zope.org
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-dev )
View this message in context:
Sent from the Zope - General mailing list archive at Nabble.com.
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -