Re: JDBC

From: J.C.Posey <jcp_at_myrtle.ukc.ac.uk>
Date: 09 Mar 2001 11:29:30 +0000
Message-ID: <jkolmqfi3j9.fsf_at_myrtle.ukc.ac.uk>


"Thomas Durlach" <durlecht_at_msu.edu> writes:

> i was wondering if anyone has experience writing java code to iteract with
> oracle 8i through jdbc......i am trying to get the meta data from a table
> (column names, etc)...and i am having so success....i dont know if its a bug
> or what......if someone could supply some sample code that shows how to do
> it.....that would be great.

java.sql.* API has specific calls to access metadata, look at:

DatabaseMetaData and ResultSetMetaData

Those do exactly what you want. If you post the bit of your code you think is causing you problems, people might be able to offer more help.

-- 
Jake C. Posey                    | +44 (0)1227 827692
Junior Technical Support Officer | http://www.mau.ac.uk/
MAU/TAU                          | http://www.tau.ac.uk/
University of Kent at Canterbury | http://www.jisc.ac.uk/
Received on Fri Mar 09 2001 - 12:29:30 CET

Original text of this message