[Zope] Database connectors

rieh25 robertoedwins at gmail.com
Thu Nov 16 15:12:59 EST 2006


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

thanks.



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 at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 

-- 
View this message in context: http://www.nabble.com/Database-connectors-tf2644648.html#a7387390
Sent from the Zope - General mailing list archive at Nabble.com.



More information about the Zope mailing list