Mailing list - Entries of 2005


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[qftestJUI] Database Connection


  • Subject: [qftestJUI] Database Connection
  • From: "Dressler, Ringo (EXTERN: HAYS)" <extern.ringo.dressler@?.de>
  • Date: Thu, 14 Jul 2005 10:33:30 +0200

Title: Database Connection

Hi everyone,

I've read some articles about db connection, but all my try's are not working...
My db is oracle 9.2i. I've put the jdbc- driver classes12.jar in the qftestJui-plugin dir.

My serverscript to connect is like this:

from com.ziclix.python.sql import zxJDBC
global database
database = zxJDBC.connect("jdbc:oracle.thin:@" + rc.lookup("myHost") + ":" + rc.lookup("myPort") + ":" + rc.lookup("myDB"), rc.lookup("user"), rc.lookup("password"), rc.lookup("dbclass"))

But the jython-error says: "no suitable driver"
What's wrong??

By the way
The vars are all set in the node above the serverscript,
f.i. dbclass = oracle.jdbc.driver.OracleDriver

Br
Ringo


Videos Downloads Documentation Buy Free Trial