No,
it works with oracle drivers also.
Mahesh.
-----Original Message-----
From: Henki Lubis [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2000 5:00 AM
To: [EMAIL PROTECTED]
Subject: Re: Connecting to Oracle thro Thin driver
try use Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver"); all what i know if
u r using Ms windows 9X/NT means u have to use odbc .. not oracle .. am i
right any master ???
-----Original Message-----
From: Sanjay Gomes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 05, 2000 10:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Connecting to Oracle thro Thin driver
Hello ,
It gives the following error when i try
class oracle.jdbc.driver.OracleDriver not found.
Its not finding the driver .Whats the problem
since Ive include the classess111.zip in the classpath
and the oci8jdbc.dll in the path settings
There is no need of DSN here right?
Regards
sanjay
>From: N Hari Babu <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Connecting to Oracle thro Thin driver
>Date: Wed, 5 Jul 2000 12:57:11 +0500
>
>Hi Sanjay,
> Try the following way.
>
>first load the driver with the following method.
>Class.forName("oracle.jdbc.driver.OracleDriver")
>
>Next get the connection by using getConnection() method of DriverManager
>class.
>
>
>con=DriverManager.getConnection("jdbc:oracle:thin:@ser:1521:sid",userid,pas
s
>word);
>
>@ser represents the ur oracle server address.
>sid is ur server sid.
>
>next create the appropriate statement which u need....
>
>Thanks,
>Haribabu.
>
>At 12:39 PM 7/5/00 IST, you wrote:
> >Hi guys,
> >Have been connecting to Oracle thro DSNs
> >
> >Now I want to connect using thro the Oracle thin driver
> >Please can somebody help.Please mention the procedure
> >
> >TIA
> >Sanjay
> >________________________________________________________________________
> >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
>
>===========================================================================
> >To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
> >Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
> >
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets