the following code works in Jython:
p = Properties()
p["user"] = "db2admin"
url = "jdbc:db2://localhost:50000/CORE";
dbconn = DriverManager.getConnection(url, p)
However when I try doing the same thing in a Grinder script it complains of:
File "jdbcDR4.py", line 23, in __call__
Does anyone have any ideas?
The views expressed in this email are, unless otherwise stated, those of the author and not those
of the FirstRand Banking Group or its management. The information in this e-mail is confidential
and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or any action taken or
omitted in reliance on this, is prohibited and may be unlawful.
Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data
transmitted electronically and to preserve the confidentiality thereof, no liability or
responsibility whatsoever is accepted if information or data is, for whatever reason, corrupted
or does not reach its intended destination.
Get latest updates about Open Source Projects, Conferences and News.