Home » Developer & Programmer » JDeveloper, Java & XML » Problem in connection with oracle database
Problem in connection with oracle database [message #92155] Sat, 27 March 2004 00:54 Go to next message
Vikas Gupta
Messages: 115
Registered: February 2002
Senior Member
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
Class.forName("oracle.jdbc.driver.OracleDriver");
con=DriverManager.getConnection("jdbc:oracle:oci8:@oratest","scott","tiger");

i am unable to connect with the oracle with this code. the compiler says that oracle.jdbc.driver package does not exist.

please help me?
Re: Problem in connection with oracle database [message #92187 is a reply to message #92155] Wed, 07 April 2004 02:06 Go to previous messageGo to next message
phani
Messages: 9
Registered: November 2000
Junior Member
set classpath to
<Oracle Installationpath>ora81jdbclibclasses12.zip
Re: Problem in connection with oracle database [message #92240 is a reply to message #92155] Tue, 04 May 2004 00:08 Go to previous message
Virginie
Messages: 3
Registered: May 2004
Junior Member
Do you have the driver classes12.zip ????
if not, you muste download the driver and put it in the classpath of your application.
Good luck ;-)
Previous Topic: capture word document data into ORacle/Access database
Next Topic: Pb connection oracle-jdbc
Goto Forum:
  


Current Time: Tue Jul 27 16:56:45 CDT 2021