从何处获取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

查看:183
本文介绍了从何处获取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)

修改: 通过从orai18n.jar和xdb6.jar来设法解决了导致我的单元测试中的错误的问题-090769.html"rel =" noreferrer> Oracle的Oracle Database 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主页,它看起来很有可能获得,但是明显没有可用的下载.

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 Database 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天全站免登陆