JDBC-ODBC 桥在 Java 8 中删除,最好的选择是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/22751071/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
JDBC-ODBC Bridge Removed in Java 8, what is the best alternative?
提问by djmordigal
Seeing as Oracle has removed the JDBC-ODBC Bridge driver in the latest release of Java (version 8), is there a good alternative that will enable us developers to access ODBC databases in Java 8?
看到 Oracle 在最新版本的 Java(版本 8)中删除了 JDBC-ODBC Bridge 驱动程序,是否有一个好的替代方案可以让我们开发人员在 Java 8 中访问 ODBC 数据库?
Oracle is apparently recommending that we use vendor-specific JDBC drivers instead of the Bridge, which tells me that Microsoft should have its own JDBC driver for connecting to MS Access databases in Java.
Oracle 显然建议我们使用供应商特定的 JDBC 驱动程序而不是 Bridge,这告诉我微软应该有自己的 JDBC 驱动程序来连接到 Java 中的 MS Access 数据库。
http://docs.oracle.com/javase/7/docs/technotes/guides/jdbc/bridge.html
http://docs.oracle.com/javase/7/docs/technotes/guides/jdbc/bridge.html
I'm currently looking into whether or not Microsoft has this technology available, but in the meantime, does anyone know if they do or if another alternative is available?
我目前正在调查 Microsoft 是否有这项技术可用,但与此同时,有没有人知道他们是否有或是否有其他替代方案?
回答by Gord Thompson
does anyone know if ... another alternative is available [for Access]?
有谁知道...是否有另一种选择[用于访问]?
Yes. UCanAccessis a viable alternative. For more information look here.
是的。UCanAccess是一个可行的选择。欲了解更多信息,请看这里。