[egenix-users] Error Msg: 'NoneType' object is not callable" in <bound method mxODBC_Connection.__del__ of

Senthil Kumaran orsenthil at gmail.com
Thu Feb 19 14:48:35 CET 2009


On Tue, Feb 10, 2009 at 3:43 AM, M.-A. Lemburg <mal at egenix.com> 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



More information about the egenix-users mailing list