RE: [INTERFACES] a few additional JDBC points?? - Mailing list pgsql-interfaces

From Ansley, Michael
Subject RE: [INTERFACES] a few additional JDBC points??
Date
Msg-id 1BF7C7482189D211B03F00805F8527F70ED0F3@S-NATH-EXCH2
Whole thread Raw
List 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 by date:

Previous
From: "Ansley, Michael"
Date:
Subject: RE: [INTERFACES] A few more JDBC meta-data questions...
Next
From: Tom Lane
Date:
Subject: Re: [INTERFACES] Error using Perl interface