Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Getting catalogs from oracle thin jdbc driver

Getting catalogs from oracle thin jdbc driver

From: <radmk2_at_cam.ac.uk>
Date: Sun, 21 Jun 1998 18:55:47 GMT
Message-ID: <6mjkvj$qfb$1@nnrp1.dejanews.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US