Re: Error Msg: 'NoneType' object is not callable" in <bound method mxODBC_Connection.__del__ of
Senthil Kumaran <[email protected]>
| Newsgroups | gmane.comp.python.egenix.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 10, 2009 at 3:43 AM, M.-A. Lemburg <[email protected]> wrote: > The server will only > shutdown the real connection to the database if it sees > a .close() method call from the client side (or finds a > timeout). > > While you can rely on the fact that the conneection > object deallocation will implicitly close the connection, > you do have to be careful about how you manage references > to the connection object. Otherwise, the connections are > not closed when you think they should be closed. Just to make sure that I don't forget to inform you. The Documentation on the mxODBC Connect does not mention the need of explicit close of session and connection objects. I think, this can be improved in the mxODBC Connect Documentation. Thanks, Senthil _______________________________________________________________________ eGenix.com User Mailing List http://www.egenix.com/ https://www.egenix.com/mailman/listinfo/egenix-users