Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jdbc

Status
Not open for further replies.

yytan

Programmer
May 8, 2002
113
MY
hi there;

i am doing jsp and open a oracle database running on Linux.
my connectin string:
Connection conn = DriverManager.getConnection ("jdbc:eek:racle:eek:ci8:mad:MV","lhsmv", "lhsmv");

--error that appeared--
java.sql.SQLException: No suitable driver
 
Did you do the following before you attempted to connect?

Class.forName("oracle.jdbc.driver.OracleDriver");

You need to tell it which jdbc driver you want to use.

 
murray, thanks for your reply. it works now. and i have another problem here when i want to exp the oracle database. the error shown:

/home/yytan>exp

Export: Release 8.1.6.1.0 - Production on Mon Sep 23 15:09:40 2002

(c) Copyright 1999 Oracle Corporation. All rights reserved.


Username: clm
Password:

Connected to: Oracle8i Enterprise Edition Release 8.1.6.1.0 - Production
With the Partitioning option
JServer Release 8.1.6.0.0 - Production
EXP-00037: Export views not compatible with database version
EXP-00000: Export terminated unsuccessfully
/home/yytan>
 
Sorry, I have never tried to export a database so I am no help! Good luck...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top