X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 910019F9FE3 for ; Mon, 19 Jun 2006 15:34:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 79560-03 for ; Mon, 19 Jun 2006 15:33:57 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id 773169F9998 for ; Mon, 19 Jun 2006 15:33:56 -0300 (ADT) Received: (qmail 32735 invoked from network); 19 Jun 2006 18:33:55 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 19 Jun 2006 18:33:55 -0000 In-Reply-To: References: <4077BF73-482B-46C8-B65D-2E1FD2465294@fastcrypt.com> Mime-Version: 1.0 (Apple Message framework v750) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: statement caching proof of concept Date: Mon, 19 Jun 2006 14:33:53 -0400 To: Heikki Linnakangas X-Mailer: Apple Mail (2.750) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/52 X-Sequence-Number: 15332 On 19-Jun-06, at 2:07 PM, Heikki Linnakangas wrote: > On Mon, 19 Jun 2006, Dave Cramer wrote: > >> This is just proof of concept. More work has to be done to make it >> build properly and work properly under different jdk's > > That's neat, but isn't statement caching something that belongs to > the application server, not the JDBC driver? There's an interesting question. However the way it has been done it can be very easily removed, or added. > > Also, it seems to me that the changes to AbstractJdbc2Connection > and AbstractJdbc2Statement are completely unrelated to statement > caching. > >> Note: this work is based completely on apache's dbcp statement >> caching implementation and this will be noted in the final code. > > What kind of licensing issues does that bring us? None, their license is more or less bsd. > > - Heikki >