从何处获取 11.2.0.3 的 Oracle jar 文件 - xdb、aq、i18n、xmlparser [英] Where to get Oracle jar files for 11.2.0.3 - xdb, aq, i18n, xmlparser

查看:34
本文介绍了从何处获取 11.2.0.3 的 Oracle jar 文件 - xdb、aq、i18n、xmlparser的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更新旧版 Java 应用程序以与 Oracle 11g 版本 11.2.0.3 兼容.

I'm trying to update a legacy Java application to be compatible with Oracle 11g version 11.2.0.3.

该应用程序在 Oracle 10g 版本 10.2.0.4 上运行并使用 Oracle Advanced Queues.它为以下对象声明了 Maven 依赖项:

The application was running on Oracle 10g version 10.2.0.4 and uses Oracle Advanced Queues. It has Maven dependencies declared for:

  • aq 10.2.0.4.0
  • xdb 10.2.0.4.0
  • xmlparser 10.2.0.4.0
  • i18n 10.2.0.4.0

我正在努力为 11g,特别是 11.2.0.3 找到相同的文件.我在各种地方环顾四周,例如我的 Oracle 主目录、JDeveloper 安装和在线,发现各种名称和版本的 jar 文件令人眼花缭乱,它们是候选文件,但不是我需要的.

I'm struggling to find the same files for 11g, specifically for 11.2.0.3. I've looked around in various places such as my Oracle home directory, JDeveloper installation and online, and found a bewildering variety of jar files of various names and versions that are candidates but not quite what I need.

谁能告诉我在哪里可以找到正确的 jar 文件?

Can anyone let me know where to find the right jar files?

现在JDBC驱动中好像有一些aq类,但是包名从oracle.aq变成了oracle.jdbc.aq.虽然我很高兴进行一些重构,但我希望有信心在继续之前这是正确的做法.这里的任何建议都是有价值的.

It seems that there are now some aq classes in the JDBC driver, but the package name has changed from oracle.aq to oracle.jdbc.aq. Whilst I'm happy to do some refactoring I'd like some confidence that this is the right thing to do before going ahead. Any advice here would be valuable.

尝试使用混合版本运行时,我设法发现在尝试运行应用程序单元测试时出现以下错误:

When trying to run with the mish-mash of versions I've managed to find I get the following error when trying to run the apps unit tests:

java.lang.NoSuchMethodError: oracle.i18n.text.converter.CharacterConverterOGS.getInstance(I)Loracle/i18n/text/converter/CharacterConverter;
at oracle.sql.converter.CharacterConverterFactoryOGS.make(CharacterConverterFactoryOGS.java:43)
at oracle.sql.CharacterSetWithConverter.getInstance(CharacterSetWithConverter.java:97)
at oracle.sql.CharacterSetFactoryThin.make(CharacterSetFactoryThin.java:129)
at oracle.sql.CharacterSet.make(CharacterSet.java:514)
at oracle.sql.CHAR.<clinit>(CHAR.java:72)

通过从 Oracle 的 Oracle 数据库 11g 第 2 版 JDBC 驱动程序页面.但是,我仍然缺少aqxmlparser.

Managed to solve the problem that was causing the error in my unit tests by downloading orai18n.jar and xdb6.jar from Oracle's Oracle Database 11g Release 2 JDBC Drivers page. However, I'm still short of aq and xmlparser.

找到 Oracle XDK 主页,看起来很有希望获得 xmlparser,但在明显的地方没有可用的下载.

Found the Oracle XDK home page which looks promising for getting xmlparser, but there are no downloads available in an obvious place.

推荐答案

http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html

Oracle 数据库 11g 第 2 版 JDBC 驱动程序

Oracle Database 11g Release 2 JDBC Drivers

xdb6 和驱动程序在这里

xdb6 and the drivers are here

请注意,oracle 12c 驱动程序将适用于 12c 和 11g!

Note that oracle 12c drivers will work with 12c and 11g!

https://www.oracle.com/technetwork/database/application-development/jdbc/downloads/index.html

这篇关于从何处获取 11.2.0.3 的 Oracle jar 文件 - xdb、aq、i18n、xmlparser的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆