Re: statement caching proof of concept

From: Mark Lewis <mark(dot)lewis(at)mir3(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: Oliver Jowett <oliver(at)opencloud(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: statement caching proof of concept
Date: 2006-06-19 23:51:59
Message-ID: 1150761119.19111.45.camel@archimedes
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message till toenges 2006-06-19 23:56:55 Re: statement caching proof of concept
Previous Message Dave Cramer 2006-06-19 23:42:38 Re: statement caching proof of concept