getPrimaryKeys() returns empty

From: SNarayan(at)automatedlogic(dot)com
To: pgsql-jdbc(at)postgresql(dot)org
Subject: getPrimaryKeys() returns empty
Date: 2003-08-05 15:20:57
Message-ID: OFB9304C90.FAD4A6CF-ON85256D79.00538BAD-85256D79.0054F63D@automatedlogic.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi,
I am using the latest stable release JDBC driver (PostgreSQL 7.3.3 JDBC3
jdbc driver build 112) for PostgreSQL database, and using the method
DatabaseMetaData.getPrimaryKeys(null, null, tableName) returns empty
results even though the table has a primary key.

I also verified that a prior version of the driver (PostgreSQL 7.2 JDBC2)
returns the primary key as expected.

Is this a bug in the latest driver version ? Is there a known work around
at this time ?

I appreciate any information on this.

Thanks,
sundar.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Felipe Schnack 2003-08-05 16:04:39 Re: Cursornames
Previous Message Fernando Nasser 2003-08-05 15:13:18 Re: Cursornames