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