I need to establish a connection to a DB (f.i. MySQL, DB2) but I don't have the possibility to include JARs.
So I thought ODBC is able to connect to DBs without a DB specific driver. But every code example I found uses native drivers.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Throws an access denied exception by Java Security and if else I do get java.sql.SQLException: No suitable driver found for..
I just want to submit some simple SQL Queries - I do not get why I need native drivers.
Am I on the wrong page?