aspose file tools*
The moose likes JDBC and the fly likes Oracle Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Oracle Driver" Watch "Oracle Driver" New topic
Author

Oracle Driver

shailendra vasale
Ranch Hand

Joined: Dec 17, 2000
Posts: 38
hi All,
When using Class.forName("jdbc.oracle.driver.OracleDriver")
JVM throws ClassNotFoundException ..
Can any one advice how to use driver of type2,type3 and type4.Cause JdbcOdbcDriver is working correctly with oracle's personal edition .From where I'll get the oracle driver n how to use it?
Thansk in advence.
Shailendra.
Srihari Injeti
Ranch Hand

Joined: Jan 05, 2001
Posts: 31
Hi Shailendra,
You need to donwload Oracle JDBC classes from Oracle site and put them in your CLASSPATH.
You need classes111 or classes12.zip depending on which version of Java and Oracle you are running. You can get the correct info in the Oracle tech net site.
Hope that helps.
Srihari


Srihari Injeti<BR>SCJP2 MCP CIW
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Oracle Driver
 
Similar Threads
Oracle thin driver connectivity
JDBC Type $ Driver
HeuristicHazard
JDBC Drivers
DatabaseMetaData.getExportedKeys() returns empty ResultSet