Re: Wrong column names in ResultSetMetaData

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Wrong column names in ResultSetMetaData
Дата
Msg-id Pine.BSO.4.56.0408021925430.5931@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Wrong column names in ResultSetMetaData  (Oliver Jowett <oliver@opencloud.com>)
Ответы Re: Wrong column names in ResultSetMetaData  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc

On Tue, 3 Aug 2004, Oliver Jowett wrote:

>    RSMD.getColumnLabel() returns the column alias, or maybe something
> like the column's comment (can you COMMENT ON columns?) later.

This is my major beef with the argument, what do you do for
getColumnLabel?  Returning the column's comment (which you can do) isn't
the right thing either.  I've got comments running to paragraph length
describing some of the more obscure columns in my databases.  No other
driver in Mike's list showed an implementation of this different from
getColumnName, so what's the point?  The spec authors must have had some
existing implementation to inspire this feature.  The argument that
getColumnLabel and getColumnName should do the exact same thing just seems
wrong to me.

Kris Jurka

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: Wrong column names in ResultSetMetaData
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Wrong column names in ResultSetMetaData