Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Getting catalogs from oracle thin jdbc driver
I am using oracle 8 server and its jdbc drivers. I have tested the examples in
the distribution and it works fine.
The problem is when I try to retrieve databaseMetaData from the server using the getCatalogTerm () or the getCatalogs() methods. The answer is null or "".
I have also null results when I use getTable () method.
String catalogName = dmd.getCatalogTerm ();
String [] types = {"TABLE"};
ResultSet rset = dmd.getCatalogs ();
ResultSet rset = dmd.getTables (null,"SCOTT","TIGER",types);
I don't know what I must put as the first parameter of the getTable () method.
Many thanks for your help,
Remi
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Sun Jun 21 1998 - 13:55:47 CDT
![]() |
![]() |