Re: Connection still open after close()
Posted by: Reggie Burnett
Date: November 03, 2004 08:16AM

How are you detecting that it is still open? Doing a show processlist from the command line client? You should be aware that connection pooling is on by default with the connector. This means that when you call close() on a connection, the actual connection to the database is not terminated. Instead the connection is returned to the pool to be reused later. To not use pooling, add pooling=false to your connection string.

Options: ReplyQuote


Subject
Written By
Posted
November 03, 2004 03:43AM
Re: Connection still open after close()
November 03, 2004 08:16AM


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.