Re: Connection is closed, but not disposed or released
Posted by: Sven Franke
Date: January 24, 2005 04:23AM

When you do a Connection.Close() the connection will be returned to the pool.

What I use (and it works for me) is:

I open the connection, do some SQL stuff and close the connection. When I arrive in the Finally block, I wil set the connection to nothing.

Maybe this will help you.

(when I use .Dipose, the connection is closed, but is not returned to the pool. At least, that is what I noticed)

Sven.

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.