Re: Wrong column names in ResultSetMetaData

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Wrong column names in ResultSetMetaData
Дата
Msg-id 4108C2F1.7090805@opencloud.com
обсуждение исходный текст
Ответ на Re: Wrong column names in ResultSetMetaData  (Kris Jurka <books@ejurka.com>)
Ответы Re: Wrong column names in ResultSetMetaData  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
Kris Jurka wrote:

> This was done intentionally.  Back in January I applied this patch:
>
> date: 2004/01/13 03:07:09;  author: jurka;  state: Exp;  lines: +95 -31
> This patch is the culmination of Jan-Andre le Roux's work on enhancing
> the ResultSetMetaData methods with new information available in the V3
> protocol.  He wandered off of the verge of completing it and I've just
> done some minor reworking and editing.
>
> This implements getSchemaName, getTableName, getColumnName,
> getColumnLabel, and isNullable.

I notice that the implementation of updateable resultsets use
Field.getColumnLabel() when generating the UPDATE/SELECT/etc SQL.
Presumably this should be using Field.getColumnName() given the current
semantics?

-O

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Wrong column names in ResultSetMetaData
Следующее
От: Jeremiah Jahn
Дата:
Сообщение: PreparedStatement.getMetaData() and Creator