One possible reason is, system cannot find the driver you specified. try to check your classpath
so that the driver can be found.
 
liwen
----- Original Message -----
Sent: Wednesday, May 17, 2000 2:25 PM
Subject: sos:oracle's jdbc?

hi all:
    I'm using jdbc in servlet for oracle(classes111.zip),sybase(jconnect5.2;jconn2.jar).
    It had successed when I use com.sybase.jdbc2.jdbc.SybDriver to connection to SYBASE database.
    But failed with oracle.jdbc.driver.OracleDriver.
    The reason is that the statement "Class.forname("oracle.jdbc.driver.OracleDriver")" is unavailable.
    I want to Why sybase ok,but oracle error!
 

Reply via email to