DriverManager.getConnection() is the standard method of finding a JDBC driver implementation and connecting with it, and Drivers are normally written to register itself with the manager in a static initializer block - It is not advised to try to side...
If the SPARK-6913 issue was the same as what you saw when using DriverManager.getConnection(), then think you may need to replace the runtime addition of the jar (SparkContext.addJar()) in favor of specifying the jar directly in the classpath of the ...
What version of the driver are you using?Provided you are using a recent version of the driver:JVM version 11 is supportedThe JDBC driver (ngdbc.jar) is now designed as a multi-version jarIn particular, the Driver class (com.sap.db.jdbc.Driver), has ...