Re: JDBC getDatabaseProductVersion() patch

Поиск
Список
Период
Сортировка
От Peter Mount
Тема Re: JDBC getDatabaseProductVersion() patch
Дата
Msg-id Pine.LNX.4.21.0009140225540.351-100000@maidast.demon.co.uk
обсуждение исходный текст
Ответ на JDBC getDatabaseProductVersion() patch  (Anders Bengtsson <anders@lecando.com>)
Список pgsql-interfaces

On Wed, 13 Sep 2000, Anders Bengtsson wrote:

> Hello,
> I don't know if this list is the correct way to contribute patches, but
> here we go:
> 
> I've implemented getDatabaseProductVersion() for DatabaseMetaData so
> that it retreives tha version number from the database server, instead
> of using a hard coded constant in the driver.
> Attached are patches for jdbc1 and jdbc2.
> I've only been able to test the jdbc2 driver, but I hope someone can
> check that the jdbc1 version works.

I'll check it against both. Hopefully the output from the backend doesnt
change it's format...

> (By the way, has anyone tried to merge the identical parts of the jdbc1
> and jdbc2 code?).

I have thought about it, but now isn't a good time as it would then
involve undoing it later. I've got plans on rewriting the jdbc2 ResultSet
to allow cursor support, and some of the duplicated areas would be
affected.

Peter



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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: UnixODBC/Postgres & Excel...
Следующее
От: Ken Kachnowich
Дата:
Сообщение: How to get latest source code for JDBC