This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Driver to connect to Oracle

 
Sumi Festus
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!!

I need to connect to the Oracle 9i Database and i have been using the oracle thin driver. I have written the following statement, <code>DriverManager.registerDriver(new oracle.jdbc.OracleDriver())</code>

The problem now is that i dont have the jdbc folder and the classes12.jar file in my system and so i cannot use the oracle.jdbc package. Now is there any other method of connecting to the database.

Thanks a lot

Sumi
 
Sandy Saahil
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry Sumi i dont think there's any other way for that...what you can do is download classes12.jar from internet....put that in classpath and use that...i hope it will do what you need to do..
 
Sandy Saahil
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi sumi..use this link to download driver

http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are trying to connect with oracle, you must have it installed on some machine. Look into oracle_installation_path/jdbc/lib folder.

You will find same jar file there


Shailesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic