Re: jdbc and DB2



Corona4456 wrote:
How would you go about getting a list of tables from db2 using jdbc?


Use DatabaseMetaData and the methods like:

- getCatalogs()
- getSchemas()
- getTables()

Do not use SQL-Statements for that! And have a look
to your Java-API-Reference.

Alfred
.