JDBC的版本和Oracle Driver的版本怎样对应?
JDBC的版本和Oracle Driver的版本怎样对应?比如JDBC4.0有个新特性,不需要类加载驱动。怎样知道JDBC的版本、JDBC的版本和Oracle Driver的对应关系?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
JDBC的版本和Oracle Driver的版本怎样对应?比如JDBC4.0有个新特性,不需要类加载驱动。怎样知道JDBC的版本、JDBC的版本和Oracle Driver的对应关系?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
上面列的就是你要的驱动的对应关系。或者你可以这样理解驱动与oracle的主版本号一样。 oracle数据安主目录中有一个叫jdbc的目录,里面有driver。 ojdbc6是jdk1.6用,ojdbc5是jdk1.5用。 用压缩工具打开,META-INF/MANIFEST.MF中 Implementation-Version: 11.2.0.1.0就是你要的jdbc版本号
回复
非常感谢您的耐心回答。不过有一点要纠正,Implementation-Version对应的是Oracle的版本,如11.2.0.1.0,Specification-Version: 4.0这个才是JDBC版本。
Which JDBC drivers support which versions of JDBC?
Oracle 9.0.1 supports:
Oracle 9.2.0 supports:
Oracle 10.1.0 supports:
Oracle 10.2.0 supports:
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.
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.
Which JDBC drivers support which versions of JDBC?
Oracle 9.0.1 supports:
Oracle 9.2.0 supports:
Oracle 10.1.0 supports:
Oracle 10.2.0 supports:
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.
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.