Re: MySqlConnection doesn't close
Posted by: Reggie Burnett
Date: November 08, 2006 09:21AM

Patrik

You are seeing connection pooling. Pooling is enabled by default. When you use pooling and close a connection, the actual connection to the server is not closed but simply marked as not in use. When you open a new connection, the driver checks to see if there is a connection that is not in use. If so, it takes that one. It is a great performance enhancer when you are going to be opening and closing lots of connections.

Options: ReplyQuote


Subject
Written By
Posted
November 07, 2006 02:56PM
Re: MySqlConnection doesn't close
November 08, 2006 09:21AM


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.