Re: Problem with getImportedKeys / getExportedKeys

Поиск
Список
Период
Сортировка
От Jeroen van Vianen
Тема Re: Problem with getImportedKeys / getExportedKeys
Дата
Msg-id 5.1.0.14.2.20020117195227.046e3e90@ams010.satama.com
обсуждение исходный текст
Ответ на Re: Problem with getImportedKeys / getExportedKeys  ("Vianen, Jeroen van" <jeroen.van.vianen@satama.com>)
Ответы Re: Problem with getImportedKeys / getExportedKeys  (Jason Davies <jason@netspade.com>)
Список pgsql-jdbc
Hi Jason,

At 20:06 01-16-2002 +0100, Vianen, Jeroen van wrote:
>Thanks for the patch. I will try it out soon.

I've tried your patch and the output is as follows:

java -classpath .:postgresql.jar TestKeys users
Imported keys:
Exported keys:
PKTABLE_NAME = users_roles
PKCOLUMN_NAME = userid
FKTABLE_NAME = users
FKCOLUMN_NAME = userid

# java -classpath .:postgresql.jar TestKeys users_roles
Imported keys:
PKTABLE_NAME = users_roles
PKCOLUMN_NAME = userid
FKTABLE_NAME = users
FKCOLUMN_NAME = userid
PKTABLE_NAME = users_roles
PKCOLUMN_NAME = userid
FKTABLE_NAME = users
FKCOLUMN_NAME = userid
Exported keys:

Comparing this with Oracle's output I noticed that all PK* and FK* columns
have been exchanged and that the two imported keys for table users_roles
are the same. Oracle correctly reports a key from users_roles to users and
from users_roles to roles.

Any clue?


Jeroen


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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: setBoolean and char/varchar
Следующее
От: Kovács Péter
Дата:
Сообщение: Re: Proposal for a configurable ResultSet implementation