Driver.class in MarkLogic driver is only recognised by legacy connector

Hi,
KNIME uses the Java service lookup to find all drivers. So it looks into the services file of the jar where only the postgres driver is listed: https://github.com/marklogic-community/ml-jdbc-driver/blob/master/src/main/resources/META-INF/services/java.sql.Driver
What you can do is unzip the jar file and add the following entry to the METAINF/services/java.sql.Driver file:
com.marklogic.Driver and the zip all files again with .jar as file extension.
Bye
Tobias

5 Likes