permaculture playing cards*
The moose likes JDBC 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
Bookmark "importing oracle.sql.*" Watch "importing oracle.sql.*" New topic
Author

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
Thnaks,
Trupti
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
 
jQuery in Action, 2nd edition
 
subject: importing oracle.sql.*
 
Similar Threads
Ok here is another question
Problem in importing oracle.sql.*
some problem about Oracle upgrade script
oracle.sql.* download ..................
USER_RANK error