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 3A8A09FA219 for ; Tue, 20 Jun 2006 07:17:40 -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 06227-02 for ; Tue, 20 Jun 2006 07:17:35 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from smtp-4.hut.fi (smtp-4.hut.fi [130.233.228.94]) by postgresql.org (Postfix) with ESMTP id 62A0A9FA3CD for ; Tue, 20 Jun 2006 07:17:35 -0300 (ADT) Received: from localhost (putosiko.hut.fi [130.233.228.114]) by smtp-4.hut.fi (8.13.6/8.12.10) with ESMTP id k5KAHAUd018628; Tue, 20 Jun 2006 13:17:10 +0300 Received: from smtp-4.hut.fi ([130.233.228.94]) by localhost (putosiko.hut.fi [130.233.228.114]) (amavisd-new, port 10024) with LMTP id 03379-15-4; Tue, 20 Jun 2006 13:17:10 +0300 (EEST) Received: from kosh.hut.fi (kosh.hut.fi [130.233.228.10]) by smtp-4.hut.fi (8.13.6/8.12.10) with ESMTP id k5KAGPLb018522; Tue, 20 Jun 2006 13:16:25 +0300 Date: Tue, 20 Jun 2006 13:16:25 +0300 (EEST) From: Heikki Linnakangas To: Oliver Jowett cc: List Subject: Re: statement caching proof of concept In-Reply-To: <4497C527.6090608@opencloud.com> Message-ID: References: <4077BF73-482B-46C8-B65D-2E1FD2465294@fastcrypt.com> <44973024.4010204@opencloud.com> <4497C527.6090608@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-TKK-Virus-Scanned: by amavisd-new-2.1.2-hutcc at putosiko.hut.fi X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/68 X-Sequence-Number: 15348 On Tue, 20 Jun 2006, Oliver Jowett wrote: > Dave Cramer wrote: > >> How does the generic wrapper solve the problems above ? I would think they >> all suffer from the same problems ? > > Well, yes, but my point is that you can solve this once for all JDBC drivers, > you don't need postgres-specific code to do it .. and surely someone has > already done this? Sure. All major J2EE app servers have a prepared statement cache. And then there's at least Apache commons dbcp that inspired Dave in the first place. - Heikki