Re: 9.0 JDBC driver reporting invalid primary key meta data

Поиск
Список
Период
Сортировка
От Adam Rauch
Тема Re: 9.0 JDBC driver reporting invalid primary key meta data
Дата
Msg-id 01d201cb35bf$e95ccd70$bc166850$@com
обсуждение исходный текст
Ответ на Re: 9.0 JDBC driver reporting invalid primary key meta data  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Preliminary testing shows that this driver fixes the problem!  I'll keep
testing, but it looks great so far.

Thanks so much,
Adam

-----Original Message-----
From: Kris Jurka [mailto:books@ejurka.com]
Sent: Friday, August 06, 2010 3:07 PM
To: Adam Rauch
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] 9.0 JDBC driver reporting invalid primary key meta data



On Tue, 3 Aug 2010, Adam Rauch wrote:

>
> Requesting primary key meta data via the JDBC driver [i.e.,
> conn.getMetaData().getPrimaryKeys()] against PostgreSQL 9.0 reports
> incorrect meta data for tables whose PK column(s) has been renamed.

I've just checked in a fix for this problem.  Also affected are
getIndexInfo and getBestRowIdentifier.

I've posted a jar file if you'd like to test this on your application.

http://www.ejurka.com/pgsql/jars/ar/

Kris Jurka


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: [HACKERS] Trouble with COPY IN
Следующее
От: James William Pye
Дата:
Сообщение: Re: [HACKERS] Trouble with COPY IN