From: Mark Lewis <mark.lewis@mir3.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: statement caching proof of concept
Date: Mon, 19 Jun 2006 16:51:59 -0700
Message-ID: <1150761119.19111.45.camel@archimedes> (raw)
In-Reply-To: <BCA6670E-411A-40B0-9331-51EDC6B7A44E@fastcrypt.com>
References: <4077BF73-482B-46C8-B65D-2E1FD2465294@fastcrypt.com>
<44973024.4010204@opencloud.com>
<BCA6670E-411A-40B0-9331-51EDC6B7A44E@fastcrypt.com>
On Mon, 2006-06-19 at 19:34 -0400, Dave Cramer wrote:
> How does the generic wrapper solve the problems above ? I would think
> they all suffer from the same problems ?
All of the prepared-statement caching mechanisms I've been exposed to
solve the problem by giving you a non-shared object that wraps the real
PreparedStatement, and ensuring that once the wrapper is closed, you can
no longer access the underlying statement.
-- Mark Lewis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: mark.lewis@mir3.com, pg@fastcrypt.com, oliver@opencloud.com
Subject: Re: statement caching proof of concept
In-Reply-To: <1150761119.19111.45.camel@archimedes>
References: <4077BF73-482B-46C8-B65D-2E1FD2465294@fastcrypt.com> <44973024.4010204@opencloud.com> <BCA6670E-411A-40B0-9331-51EDC6B7A44E@fastcrypt.com> <1150761119.19111.45.camel@archimedes>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox