Re: Problem with getImportedKeys / getExportedKeys

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

Thanks for the patch. I will try it out soon.

Regarding the case sensitivity, I think this is an issue that needs to be
resolved in many more places in JDBC (if at all).

Thanks,


Jeroen

-----Original Message-----
From: Jason Davies
To: Vianen, Jeroen van
Cc: PostgreSQL JDBC
Sent: 15-1-02 21:26
Subject: Re: [JDBC] Problem with getImportedKeys / getExportedKeys

Yes, at the moment they are the wrong way round because of a
misinterpretation on my part. Easily fixed, by changing the SQL part so
that the Java code reads:

...

+ ((primaryTable != null) ? "AND c.relname='" + primaryTable + "' " :
"")
+ ((foreignTable != null) ? "AND c2.relname='" + foreignTable + "' " :
"")

...

I've attached a patch for this for now. But maybe case-sensitive stuff
needs to be resolved?

Thanks,
Jason Davies

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

Предыдущее
От: "Paulo Merson"
Дата:
Сообщение: setBoolean and char/varchar
Следующее
От: Ryouichi Matsuda
Дата:
Сообщение: Re: Problem in ResultSet#getTimestamp() of 7.2b4