This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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

Win a copy of The Software Craftsman this week in the Agile forum!
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: 613
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.*