Re: Getting foreign keys seems buggy
От | Dave Cramer |
---|---|
Тема | Re: Getting foreign keys seems buggy |
Дата | |
Msg-id | 00bd01c1c957$db86b220$807ba8c0@inspiron обсуждение исходный текст |
Ответ на | Getting foreign keys seems buggy (Amar Sagoo <asagoo@gmx.net>) |
Список | pgsql-jdbc |
Amar, I think this has been fixed in the current sources. The driver on the site isn't up to date however Dave -----Original Message----- From: pgsql-jdbc-owner@postgresql.org [mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of Amar Sagoo Sent: Monday, March 11, 2002 3:07 PM To: pgsql-jdbc@postgresql.org Subject: [JDBC] Getting foreign keys seems buggy Hi, I'm trying to get a list of foreign keys for a table in a PostgreSQL database through the JDBC interface. However, the DatabaseMetaData.getImportedKeys() method only returns one of the foreign keys, although the table references more than one other table. I also noticed that instead of listing each field of the foreign key in a separate row of the result set, it puts them together in one row, separated by commas. Is this a known bug in the JDBC driver? Cheers Amar -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
В списке pgsql-jdbc по дате отправления: