JDBCTM-ODBC Bridge Enhancements

JDK 1.2 Contents

The JDBC-ODBC Bridge allows Java programs to use JDBC with many existing ODBC drivers. The Bridge is itself a JDBC driver defined in the class sun.jdbc.odbc.JdbcOdbcDriver. The Bridge defines the JDBC subprotocol odbc.

Status of the JDBC-ODBC Bridge

The JDBC-ODBC Bridge should be considered a transitional solution. Javasoft and Intersolv are working to make the Bridge more reliable and robust, but they do not consider it a supported product. In the near future, development of pure-Java JDBC Drivers will make the JDBC-ODBC Bridge unnecessary.

Why not just use ODBC?

The JDBC-ODBC Bridge offers several advantages over "naked" ODBC.

Why use ODBC at all?

The Java programmer's ideal is "Pure Java": no native code, no platform-dependent features. But you may need to begin your development effort right away, without waiting for your DBMS to offer a Java-only JDBC Driver. Partly-native Drivers, such as the JDBC-ODBC Bridge, let you create programs that easily adapt to Pure Java drivers as they become available.

What's new with the JDBC-ODBC Bridge?

Copyright © 1996-97 Sun Microsystems, Inc. All Rights Reserved.

Please send comments to: jdbc@wombat.eng.sun.com or jdbc-odbc@wombat.eng.sun.com