RE: ResultSetMetaData problems (getColumnType() and -TypeName)

Поиск
Список
Период
Сортировка
От Peter Mount
Тема RE: ResultSetMetaData problems (getColumnType() and -TypeName)
Дата
Msg-id 1B3D5E532D18D311861A00600865478CF1B111@exchange1.nt.maidstone.gov.uk
обсуждение исходный текст
Список pgsql-interfaces
That's true. Hmmm, there's been a few strange problems appearing in the last
few days...

--
Peter Mount
Enterprise Support Mushroom
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council


-----Original Message-----
From: Bob Kline [mailto:bkline@rksystems.com]
Sent: Wednesday, July 19, 2000 3:54 PM
To: Peter Mount
Cc: 'Þórhallur Hálfdánarson'; 'pgsql-interfaces@postgresql.org'
Subject: RE: [INTERFACES] ResultSetMetaData problems (getColumnType()
and -TypeName)


On Wed, 19 Jul 2000, Peter Mount wrote:

> Hmmm, I'll have to check the spec. This does sound like a special
> case senario - should a ResultSetMetaData object be returned on an
> empty ResultSet? Should an SQLException be thrown instead?

Sure.  The client still needs to be able to print column headers even if
no data rows come back.

-- 
Bob Kline
mailto:bkline@rksystems.com
http://www.rksystems.com


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

Предыдущее
От: Bob Kline
Дата:
Сообщение: RE: ResultSetMetaData problems (getColumnType() and -TypeName)
Следующее
От: Max Khon
Дата:
Сообщение: ODBC driver and referential integrity