站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.4.0, Java 2 SDK 英文文档

JDBC-ODBC Bridge Enhancements - JDK 5 Documentation v1.4.0, Java 2 SDK 英文文档

JDBCTM-ODBC Bridge Enhancements

Documentation Contents
JDBC

The JDBC-ODBC Bridge allows applications written in the JavaTM programming language to use the JDBCTM API with many existing ODBC drivers. The Bridge is itself a driver based on JDBC technology ("JDBC driver") that is 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. Sun Microsystems and Merant are working to make the Bridge more reliable and robust, but they do not consider it a supported product. With the development of pure-Java JDBC drivers, the JDBC-ODBC Bridge should become unnecessary.

Why not just use ODBC?

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

Why use ODBC at all?

The 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@sun.com or jdbc-odbc@sun.com