From: Nils L. <nil...@gm...> - 2008-03-14 09:42:05
|
Is there any way to determine if the driver is connected to the database? If I create the connection fra pydb2, force the connection in DB2 I may create a cursor (even though it has just been forced) but when I cursor.execute(sql) I get the expected (connection closed). I may of course make the test my self using a try-except but it is not very neat. In other API's I have a isConnected()... Nils |