Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 61888 invoked from network); 12 Jul 2008 01:45:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Jul 2008 01:45:34 -0000 Received: (qmail 49677 invoked by uid 500); 12 Jul 2008 01:45:31 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 49605 invoked by uid 500); 12 Jul 2008 01:45:31 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 49593 invoked by uid 99); 12 Jul 2008 01:45:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jul 2008 18:45:31 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [206.123.70.52] (HELO jamm1.jammconsulting.com) (206.123.70.52) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Jul 2008 01:44:39 +0000 Received: from neilhp (localhost.localdomain [127.0.0.1]) (authenticated bits=0) by jamm1.jammconsulting.com (8.13.8/8.13.8) with ESMTP id m6C1g3AX027478 for ; Fri, 11 Jul 2008 20:42:04 -0500 From: "Neil Aggarwal" To: Subject: How does DBCP determine to reuse a connection? Date: Fri, 11 Jul 2008 20:41:58 -0500 Organization: JAMM Consulting Inc Message-ID: <0D7D299EE6BB4D6FA8007563DA4A3060@neilhp> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 Thread-Index: AcjjwHkU+ke9hwJrSoeUsGv3k34rVA== X-Virus-Checked: Checked by ClamAV on apache.org Hello: I am writing a JDBC driver that encapsulates the MySQL driver and adds some custom logging and functionality. When I use DBCP with my driver, it is not reusing connections. When I use DBCP with the MySQL driver, it is reusing the connections. I need to figure out is how DBCP determines it is going to reuse the connections to ensure my code complies with its expectations. Is there a document that covers this? Thanks, Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org