Re: connections from a data access class never get closed
Posted by: David
Date: January 13, 2005 10:42AM

I use DataReaders almost exclusively now, and I call .Close() on all of them explicitly. I've never seen the .NET connector leave a connection open in my apps, so I'm wondering if it has anything to do with you calling .Close() on your methods. I've never seen anyone call .Close() on a method before.

It may be interfering with .NET's garbage collection.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.