问题 I'm trying to do some testing on our JDBC driver using Python. Initially figuring out JPype, I eventually managed to connect the driver and execute select queries like so (reproducing a generalized snippet): from __future__ import print_function from jpype import * #Start JVM, attach the driver jar jvmpath = 'path/to/libjvm.so' classpath = 'path/to/JDBC_Driver.jar' startJVM(jvmpath, '-ea', '-Djava.class.path=' + classpath) # Magic line 1 driver = JPackage('sql').Our_Driver # Initiating a