Nishant wrote:
now server is throwing an errors as cannot load JDBC driver called com.mysql.jdbc.Driver
wht is wrong wiil i hav to import some external JDBC driver (on my pc no oracle is there )
You want to connect to an oracle database and you're loading a jdbc
driver for mysql ?
Yes
You say you are using Oracle, but your configuration is for a MySQL
database. For Oracle, your driver class is going to be
oracle.jdbc.driver.OracleDriver. Your URL is going to follow this pattern:
jdbc:oracle:thin:@::
The "database name" is also known as a TNS name in Oracle terms. Usually
th
You have to use Oracle thin driver instead. I don't remember the
location of jar file named classes12.jar for example to be used with
jdk1.3, but it would be available with an Oracle client installation or
you can copy them from an existing oracle client/oracle installation. It
is also available at
3 matches
Mail list logo