From: Adam Rauch <adam@labkey.com>
To: 'Kris Jurka' <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: 9.0 JDBC driver reporting invalid primary key meta data
Date: Fri, 6 Aug 2010 16:34:25 -0700
Message-ID: <01d201cb35bf$e95ccd70$bc166850$@com> (raw)
In-Reply-To: <alpine.BSO.2.00.1008061803370.26838@leary.csoft.net>
References: <006901cb3359$c4f493e0$4eddbba0$@com>
<alpine.BSO.2.00.1008061803370.26838@leary.csoft.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: adam@labkey.com, books@ejurka.com
Subject: Re: 9.0 JDBC driver reporting invalid primary key meta data
In-Reply-To: <01d201cb35bf$e95ccd70$bc166850$@com>
References: <006901cb3359$c4f493e0$4eddbba0$@com> <alpine.BSO.2.00.1008061803370.26838@leary.csoft.net> <01d201cb35bf$e95ccd70$bc166850$@com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox