dcsimg
About DatabaseMetaData--Urgent
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kevin_Pang
Posted On:   Tuesday, May 8, 2001 08:59 AM

I can't get the result when using getPrimaryKeys or getExportedKeys in DB2, I'm sure the code and table are right, any clue? Thanks

ResultSet rs = dbmd.getPrimaryKeys(null, null, "Test");

Re: About DatabaseMetaData--Urgent

Posted By:   Saleem_Ansari  
Posted On:   Thursday, July 5, 2001 11:14 AM

Am also getting this same problem,,,
Actually its JDBC(DB2) vendor's fault.

The alternate way is to query DB2 system tables for the primary keys.

Also, Oracle/Sybase return empty results too.
About | Sitemap | Contact