Skip site navigation (1) Skip section navigation (2)

Re: statement caching patch from Laszlo Hornyak for review

From: "Laszlo Hornyak" <laszlo(dot)hornyak(at)gmail(dot)com>
To: "Oliver Jowett" <oliver(at)opencloud(dot)com>
Cc: "Dave Cramer" <pg(at)fastcrypt(dot)com>, "Kris Jurka" <books(at)ejurka(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: statement caching patch from Laszlo Hornyak for review
Date: 2007-08-04 06:47:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

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(at)opencloud(dot)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


In response to


pgsql-jdbc by date

Next:From: L. RahyenDate: 2007-08-05 02:16:12
Subject: Strange crashes in JDBC code in multithreaded application.
Previous:From: Albert László-RóbertDate: 2007-08-04 02:00:41
Subject: Re: PSQLException: Too many update results were returned.

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group