RE: ResultSetMetaData problems (getColumnType() and -TypeName)
RE: ResultSetMetaData problems (getColumnType() and -TypeName)
От:
Peter Mount <petermount@it.maidstone.gov.uk>
Дата:
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