DatabaseMetaData

Поиск
Список
Период
Сортировка
От Glenn Holmer
Тема DatabaseMetaData
Дата
Msg-id 200605221734.06987.gholmer@weycogroup.com
обсуждение исходный текст
Ответы Re: DatabaseMetaData
Список pgsql-jdbc
Can someone give me the right incantation to get the names of the
columns in a table using DatabaseMetaData?  I'm trying

dmd = conn.getMetaData();
rs = dmd.getColumns("pg_attribute", "public", "tsoldto", null);
while (rs.next()) {

(where "tsoldto" is the name of my table) and not getting anything in
the result set.  What is that last argument supposed to be if I want to
retrieve all the column names, and are the first two correct?

--
____________________________________________________________
Glenn Holmer                          gholmer@weycogroup.com
Software Engineer                        phone: 414-908-1809
Weyco Group, Inc.                          fax: 414-908-1601

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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: [BUGS] BUG #2444: XA Connections given by posgres driver has
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: DatabaseMetaData