Re: 9.0 JDBC driver reporting invalid primary key meta data - Mailing list pgsql-jdbc

From Adam Rauch
Subject Re: 9.0 JDBC driver reporting invalid primary key meta data
Date
Msg-id 01d201cb35bf$e95ccd70$bc166850$@com
Whole thread Raw
In response to Re: 9.0 JDBC driver reporting invalid primary key meta data  (Kris Jurka <books@ejurka.com>)
List 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 by date:

Previous
From: Kris Jurka
Date:
Subject: Re: [HACKERS] Trouble with COPY IN
Next
From: James William Pye
Date:
Subject: Re: [HACKERS] Trouble with COPY IN