pg.ddx.io pgsql-jdbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Laszlo Hornyak <laszlo.hornyak@gmail.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Dave Cramer <pg@fastcrypt.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: statement caching patch from Laszlo Hornyak for review
Date: Sat, 4 Aug 2007 08:47:27 +0200
Message-ID: <531718e20708032347q87bf7efs11e748cbb61847aa@mail.gmail.com> (raw)
In-Reply-To: <46B3B590.5060600@opencloud.com>
References: <2937D635-FCCB-471A-B1DA-AF0E0E0C18EB@fastcrypt.com>
<46B1B5CE.1050409@opencloud.com>
<Pine.BSO.4.64.0708021252420.14791@leary.csoft.net>
<33E43614-DF0E-4913-92DB-2E8EC4B1E156@fastcrypt.com>
<46B3B590.5060600@opencloud.com>
Hi!
I think, we can say that such external wrappers already exist, e.g. is
commons-dbcp with its DataSource implementation.
If you wish to use the JDBC drivers datasource, or don't wat to use
DataSource, only a JDBC Connection, is there any other choice than writing
code to the JDBC driver code?
On 8/4/07, Oliver Jowett <oliver@opencloud.com> wrote:
>
> Dave Cramer wrote:
> > Kris, Oliver,
> >
> > Laszlo is working on all of your recommendations, thanks for taking the
> > time to review this.
>
> Before he throws lots more work at this -- if you are adding a wrapping
> statement object (removing the dependency on the PG driver's statement
> implementation), is there anything else which that ties the
> implementation to the postgresql driver code?
>
> Seems to me that to get correct behaviour you need to wrap Statement
> which also means you have to wrap Connection and so on .. at which point
> the question is, does this need to be integrated with the driver at all
> or can it be implemented as a separate module?
>
> -O
>
--
<signature>
<name>
<firstName>László</firstName>
<lastName>Hornyák</lastName>
</name>
</signature>
view thread (19+ messages) latest in thread
Message-ID: <531718e20708032347q87bf7efs11e748cbb61847aa@mail.gmail.com> Permalink: ../531718e20708032347q87bf7efs11e748cbb61847aa@mail.gmail.com/ Also on: postgresql.org/message-id/531718e20708032347q87bf7efs11e748cbb61847aa@mail.gmail.com ·
reply
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: laszlo.hornyak@gmail.com, oliver@opencloud.com, pg@fastcrypt.com, books@ejurka.com Subject: Re: statement caching patch from Laszlo Hornyak for review In-Reply-To: <531718e20708032347q87bf7efs11e748cbb61847aa@mail.gmail.com> References: <2937D635-FCCB-471A-B1DA-AF0E0E0C18EB@fastcrypt.com> <46B1B5CE.1050409@opencloud.com> <Pine.BSO.4.64.0708021252420.14791@leary.csoft.net> <33E43614-DF0E-4913-92DB-2E8EC4B1E156@fastcrypt.com> <46B3B590.5060600@opencloud.com> <531718e20708032347q87bf7efs11e748cbb61847aa@mail.gmail.com> * 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