RE: [INTERFACES] a few additional JDBC points??

Поиск
Список
Период
Сортировка
От Ansley, Michael
Тема RE: [INTERFACES] a few additional JDBC points??
Дата
Msg-id 1BF7C7482189D211B03F00805F8527F70ED0F3@S-NATH-EXCH2
обсуждение исходный текст
Список pgsql-interfaces
>> > 2. Is it possible to enumerate or discover the tables in a 
>> database??
>> 
>> Yes. Once you have a Connection, get a DatabaseMetaData object (using
>> getMetaData() ), and use the getTables() method.

>From different message:
> using something like DAO on a Win32 platform, then you get a nice object
> hierarchy which you can use to discover the data model, but otherwise you
> are reduced to SQL.  And DAO can't give you a list of databases!!  This is

Well, it looks like the driver takes care of that too.


MikeA


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

Предыдущее
От: "Ansley, Michael"
Дата:
Сообщение: RE: [INTERFACES] A few more JDBC meta-data questions...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [INTERFACES] Error using Perl interface