aspose file tools*
The moose likes JDBC and the fly likes JDBC Driver For Oracle 7 or 8 ??-URGENT! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Driver For Oracle 7 or 8 ??-URGENT!" Watch "JDBC Driver For Oracle 7 or 8 ??-URGENT!" New topic
Author

JDBC Driver For Oracle 7 or 8 ??-URGENT!

Vikrama Sanjeeva
Ranch Hand

Joined: Sep 02, 2001
Posts: 756
Hi Ranchers,
I am trying to connect my servlet with Oracle 7 via JDBC.But i failed to do so.However i've succeeded in connecting with MS Access.I think the problem is in Oracle 7 Driver.I have downloaded a sample code from JDBC Tutorial which shows connection with Oracle.But it is not working.Here it is...

I think java.sql included driver for MS Access But not for Oracle 7.What i shall do now?.Does i search for Oracl7 driver? or installed Oracle 8i Enterprise on WIN NT i hope Oracle 8i have Builtin driver.
Please solve my problem!.
Bye.
Viki.
NOTE:
My Enviroment is:
WIN 98
JDK1.3
TOMCAT 4.0
[ April 30, 2002: Message edited by: Vikrama Sanjeeva ]
[ April 30, 2002: Message edited by: Vikrama Sanjeeva ]

Count the flowers of your garden, NOT the leafs which falls away!
Prepare IBM Exam 340 by joining http://groups.yahoo.com/group/IBM340Exam/
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

download your drivers here. ( accept the terms and conditions ). Download the drivers for "JDBC-Thin, 100% Java ( 1.9MB)" for Oracle 8.1.7 ( they are backward compatible to Oracle 7 ) then use this information to connect to the database via jdbc. Let me know how it goes.
Jamie
Vikrama Sanjeeva
Ranch Hand

Joined: Sep 02, 2001
Posts: 756
Ok Jamie.I've downloaded JDBC-Thin, 100% Java ( 1.9MB)" for Oracle 8.1.7.It is a zipped file named "classes12.zip".Now does i've to set this file by set classpath at the prompt from where i am running tomcat4 ?.And secondly which packages of sun & oracle i've to import.?
Bye.
Viki.
[ April 30, 2002: Message edited by: Vikrama Sanjeeva ]
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

maybe this link will help you along. I just posted it for someone else.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC Driver For Oracle 7 or 8 ??-URGENT!