[cx-oracle-users] finding the module from a connection
Brought to you by:
atuining
From: Mario F. <mf...@zo...> - 2006-07-28 06:06:27
|
I'm writing a library making use of various dbapi2 modules. one of the options to inizialize my library is from an open database connection cx. I don't know how to get the *module* from the connection object, but with most other dbapi2 modules, I can at least retrieve the *name* of the module by taking cx.__class__.__module__ for a cx_Oracle database connection I get the string '__builtin__' any hints? thanks in advance, Mario Frasca -- How about some patent on "(a+b)^2 == a^2+2ab+b^2" ... choose free software! |