getTables() Implementation

Поиск
Список
Период
Сортировка
От Robinson
Тема getTables() Implementation
Дата
Msg-id 20021025193839.4015.qmail@web20009.mail.yahoo.com
обсуждение исходный текст
Ответы Re: getTables() Implementation  (Robinson <netviews@yahoo.com>)
Список pgsql-jdbc

Hi,

In my postgres database, I have three catalogs. Template0, Template1 and qiws.  I want to get all the tables from the qiws catalog.  PSQL however displays 59 objects inluding tables, sequences, views.  The following snippet returns nothing.

   DatabaseMetaData dbMeta = connect.getMetaData();
   ResultSet rs = dbMeta.getTables("qiws", null, "%", null);
   while (rs.next()) {
    System.out.println(rs.getObject(1));  // prints nothing
   }

Is getTables() implemented in the driver or am I misinterpreting something?

Thanks,
Richie

 



Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site

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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: Help with compile
Следующее
От: Robinson
Дата:
Сообщение: Re: getTables() Implementation