Skip to content
Advertisement

Tag: jpype

Connecting and testing a JDBC driver from Python

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): However, I’ve failed to to batch inserts, which is what I wanted to test. Even when executeBatch() returned a jpype int[], which should indicate a successful insert,

Advertisement