File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes importing oracle.sql.* Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "importing oracle.sql.*" Watch "importing oracle.sql.*" New topic

importing oracle.sql.*

trupti nigam
Ranch Hand

Joined: Jun 21, 2001
Posts: 614
Hello ALL,

To import oracle.sql.* ,what parameters need to be in my classpath.
In eclipse it doen't recognise the oracle package.I am using jdk1.4
Dilshad Marikar
Ranch Hand

Joined: Sep 08, 2004
Posts: 32
If you are using 9i you need ojdbc14.jar on your classpath, else classes12.jar will do. Its in jdbc/lib directory of your oracle installation.

Consult the jdbc guide for further info:

Oracle JDBC Developers guide
I agree. Here's the link:
subject: importing oracle.sql.*
It's not a secret anymore!