Removal of JDBC ODBC bridge in java 8

前端 未结 5 786
Happy的楠姐
Happy的楠姐 2020-11-22 15:42

Starting with Java 8, the JDBC-ODBC Bridge will no longer be included with the JDK.

Class.forName(\"sun.jdbc.odbc.JdbcOdbcDriver\"); // classNotFoundExceptio         


        
5条回答
  •  耶瑟儿~
    2020-11-22 15:54

    Is there any other solution connecting JDBC-ODBC Bridge?

    Sun's and Oracle's official positions have long been that --

    the [JVM-bundled] JDBC-ODBC Bridge should be considered a transitional solution [...] Oracle does not support the JDBC-ODBC Bridge.

    However, my employer, OpenLink Software, has produced enterprise-grade commercial Type 1 Bridges between JDBC and ODBC since JVM 1.0, and these are fully compatible with the current JVM 1.8. You can learn more here --

    • Single-Tier JDBC-ODBC Bridge Driver -- a JDBC driver for ODBC data sources
    • Single-Tier ODBC-JDBC Bridge Driver -- an ODBC driver for JDBC data sources

提交回复
热议问题