getPrimaryKeys() returns empty

Поиск
Список
Период
Сортировка
От SNarayan@automatedlogic.com
Тема getPrimaryKeys() returns empty
Дата
Msg-id OFB9304C90.FAD4A6CF-ON85256D79.00538BAD-85256D79.0054F63D@automatedlogic.com
обсуждение исходный текст
Список 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.

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

Предыдущее
От: Kurt Overberg
Дата:
Сообщение: JDBC encoding problem
Следующее
От: "LEON"
Дата:
Сообщение: Re: [SQL] JDBC encoding problem