jdbc

"Mohit Batra" <[email protected]> Sat, 4 Jan 2003 00:43:38 -0500 (EST)
Newsgroups gmane.comp.web.jigsaw
Message-ID <001601c2b3b4$8d8c42e0$a800a8c0@USER3>



This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C2B3E2.A505D980
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

hi all=20

i am trying to access a oracle server using jdbc in java when i conpile =
the program it gives error=20

jconnector.java:2: package jdbc.driver does not exist
import jdbc.driver.*;
^
jconnector.java:21: cannot resolve symbol
symbol  : class OracleDriver
location: package driver
DriverManager.registerDriver(new jdbc.driver.OracleDriver());
                                            ^

i have made the correct classpath but it still gives error=20

pls reply at [email protected]

regards=20
mohit

------=_NextPart_000_0013_01C2B3E2.A505D980
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff style=3D"COLOR: #000000; FONT-FAMILY: ">
<DIV><FONT face=3DArial size=3D2>hi all </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>i am trying to access a oracle server =
using jdbc in=20
java when i conpile the program it gives error </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>jconnector.java:2: package jdbc.driver =
does not=20
exist<BR>import jdbc.driver.*;<BR>^<BR>jconnector.java:21: cannot =
resolve=20
symbol<BR>symbol&nbsp; : class OracleDriver<BR>location: package=20
driver<BR>DriverManager.registerDriver(new=20
jdbc.driver.OracleDriver());<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
^</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>i have made the correct classpath but =
it still=20
gives error </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>pls reply at <A=20
href=3D"mailto:[email protected]">[email protected]</A></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>regards </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>mohit</FONT></DIV></BODY></HTML>

------=_NextPart_000_0013_01C2B3E2.A505D980--