适用于 Java 6 的 OJDBC 驱动程序是什么?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3922774/
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
Which OJDBC Driver for Java 6?
提问by JARC
We're currently using ojdbc14.jar, should we be using ojdbc6.jar ?
我们目前使用的是 ojdbc14.jar,我们应该使用 ojdbc6.jar 吗?
Update: Oracle 10g being used
更新:正在使用 Oracle 10g
采纳答案by Colin Hebert
If you're working with java6, you can (and should) use ojdbc6.jar if it is compatible with your database.
如果您使用的是 java6,那么您可以(并且应该)使用 ojdbc6.jar,前提是它与您的数据库兼容。
Resources :
资源 :
回答by asivan
Short answer - yes, you should.
简短的回答 - 是的,你应该。
Long answer - look at compatibility tables in Oracle JDBC FAQ:
长答案 - 查看 Oracle JDBC FAQ 中的兼容性表:
- Which JDBC drivers support which versions of Oracle Database?
- Which JDBC drivers support which versions of Javasoft's JDK?
For JDK 1.6 and Oracle 10g best option is o
对于 JDK 1.6 和 Oracle 10g,最佳选择是 o