Class com.tnf.accm.jdbc.XYZDriver not found
Hi,
the jpype part is fine, but jaydebeapi is not able to recognise an inhouse proprietary driver. I have no problem connecting to the db using this JDBC driver and definition via DBVisualiser and SQLSquirrel.
Am I making a mistake in the definition/code below?
import jpype
import jaydebeapi
jar = r'E:\_db\
args='-
jvm_path = jpype.getDefaul
jpype.startJVM(
-- No problem up until here --
conn = jaydebeapi.
-------
java.lang.
<ipython-
----> 1 conn = jaydebeapi.
C:\_data\
178 # DB-API 2.0 Module Interface connect constructor
179 def connect(jclassname, *args):
--> 180 jconn = _jdbc_connect(
181 return Connection(jconn)
182
C:\_data\
69 return jpype.JArray(
70 # register driver for DriverManager
---> 71 jpype.JClass(
72 return jpype.java.
73
C:\_data\
52 jc = _jpype.
53 if jc is None :
---> 54 raise _RUNTIMEEXCEPTI
55
56 return _getClassFor(jc)
java.lang.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- JayDeBeApi Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Bastian
- Solved:
- Last query:
- Last reply: