Where can I find description of how to map ODBC datatypes to JDBC? Or maybe anybody knows where source code of a jdbc-odbc bridge driver can be downloaded?
+1
A:
The JDBC-ODBC Bridge is bundled with the Java 2 SDK Standard Edition...
Check out the FAQ's at Sun - http://java.sun.com/products/jdbc/faq.html
Joe R
2008-12-03 12:07:47
Yeah, but what about sources?
2008-12-03 12:23:58
You can download the source for all the the SDK, hence the ODBC to JDBC bridge at - http://java.sun.com/javase/downloads/index.jsp
Joe R
2008-12-03 12:38:30
A:
According to wikipedia,
Sun provides a JDBC-ODBC Bridge driver. sun.jdbc.odbc.JdbcOdbcDriver. This driver is native code and not Java, and is closed source.
But I've downloaded sources (jdk-6u3-fcs-src-b05-jrl-24_sep_2007.jar), and the driver's source is really there: j2se\src\share\classes\sun\jdbc\odbc\JdbcOdbcDriver.java