RE: [INTERFACES] a few additional JDBC points??
RE: [INTERFACES] a few additional JDBC points??
От:
"Ansley, Michael" <Michael.Ansley@intec.co.za>
Дата:
>> > 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