Using JDBC-ODBC Bridge
This solution uses JDBC to connect to any ODBC driver. JDBC calls are translated to ODBC calls in the “JDBC/ODBC bridge” and the ODBC driver proceeds from there to access the database.
Specifics on driver syntax:Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");String url = "jdbc:odbc:my-dsn";Connection con = DriverManager.getConnection (url, "my-user", "my-passwd");