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

From: "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>
To: "'Peter Mount'" <peter(at)retep(dot)org(dot)uk>, Mark Dzmura <mdz(at)phalanx(dot)phalanx(dot)net>, "'D'Arcy\" \"J(dot)M(dot)\" Cain'" <darcy(at)druid(dot)net>
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: RE: [INTERFACES] a few additional JDBC points??
Date: 1999-08-17 12:17:49
Message-ID: 1BF7C7482189D211B03F00805F8527F70ED0F3@S-NATH-EXCH2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 1999-08-17 13:49:35 Re: [INTERFACES] Error using Perl interface
Previous Message Ansley, Michael 1999-08-17 12:15:24 RE: [INTERFACES] A few more JDBC meta-data questions...