JDBC的版本和Oracle Driver的版本怎样对应?

发布于 2021-11-14 04:28:39 字数 92 浏览 743 评论 4

JDBC的版本和Oracle Driver的版本怎样对应?比如JDBC4.0有个新特性,不需要类加载驱动。怎样知道JDBC的版本、JDBC的版本和Oracle Driver的对应关系?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

拥有 2021-11-20 08:12:06

上面列的就是你要的驱动的对应关系。或者你可以这样理解驱动与oracle的主版本号一样。 oracle数据安主目录中有一个叫jdbc的目录,里面有driver。 ojdbc6是jdk1.6用,ojdbc5是jdk1.5用。 用压缩工具打开,META-INF/MANIFEST.MF中 Implementation-Version: 11.2.0.1.0就是你要的jdbc版本号

终止放荡 2021-11-20 08:10:16

回复
非常感谢您的耐心回答。不过有一点要纠正,Implementation-Version对应的是Oracle的版本,如11.2.0.1.0,Specification-Version: 4.0这个才是JDBC版本。

本宫微胖 2021-11-18 08:19:48

Which JDBC drivers support which versions of JDBC?

Oracle 9.0.1 supports:

  • JDBC 2.0 Extensions except for:
  • using both global and local transactions on the same connection.

Oracle 9.2.0 supports:

  • Partial support for JDBC 3.0:
  • transaction savepoints
  • using both global and local transactions on the same connection.

Oracle 10.1.0 supports:

  • Full support for JDBC 3.0 except for:
  • retrieving auto-generated keys
  • result-set holdability
  • returning multiple result-sets.

Oracle 10.2.0 supports:

  • Full support for JDBC 3.0 
    Note that there is no real change in the support for the following in the database. All that has changed is that some methods that previously threw SQLException now do something more reasonable instead.
  • result-set holdability
  • returning multiple result-sets.

Oracle 11.1.0 and 11.2.0 support:

Full support for JDBC 3.0 in the JDK 1.5 drivers. 

Full support for JDBC 4.0 in the JDK 1.6 drivers with the exception of SQLXML which is not supported.

心欲静而疯不止 2021-11-17 04:46:46

Which JDBC drivers support which versions of JDBC?

Oracle 9.0.1 supports:

  • JDBC 2.0 Extensions except for:
  • using both global and local transactions on the same connection.

Oracle 9.2.0 supports:

  • Partial support for JDBC 3.0:
  • transaction savepoints
  • using both global and local transactions on the same connection.

Oracle 10.1.0 supports:

  • Full support for JDBC 3.0 except for:
  • retrieving auto-generated keys
  • result-set holdability
  • returning multiple result-sets.

Oracle 10.2.0 supports:

  • Full support for JDBC 3.0 
    Note that there is no real change in the support for the following in the database. All that has changed is that some methods that previously threw SQLException now do something more reasonable instead.
  • result-set holdability
  • returning multiple result-sets.

Oracle 11.1.0 and 11.2.0 support:

Full support for JDBC 3.0 in the JDK 1.5 drivers. 

Full support for JDBC 4.0 in the JDK 1.6 drivers with the exception of SQLXML which is not supported.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文