Re: statement caching patch from Laszlo Hornyak for review

Поиск
Список
Период
Сортировка
От Laszlo Hornyak
Тема Re: statement caching patch from Laszlo Hornyak for review
Дата
Msg-id 531718e20708032347q87bf7efs11e748cbb61847aa@mail.gmail.com
обсуждение исходный текст
Ответ на Re: statement caching patch from Laszlo Hornyak for review  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: statement caching patch from Laszlo Hornyak for review
Список pgsql-jdbc
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>

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Albert László-Róbert
Дата:
Сообщение: Re: PSQLException: Too many update results were returned.
Следующее
От: "L. Rahyen"
Дата:
Сообщение: Strange crashes in JDBC code in multithreaded application.