Oracle数据访问,更改Oracle客户端版本 [英] Oracle Data Access, Changing Oracle Client Versions

查看:206
本文介绍了Oracle数据访问,更改Oracle客户端版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用ODP.NET 11连接到Oracle 11g数据库的Web应用程序。一切都运行正常,但是我正在处理这个项目,该公司有一个旧的遗留应用程序连接到Oracle 7.3.4数据库。我需要在新的Web应用程序中查询此Oracle 7.3.4数据库。我有Oracle 8i客户端,但有没有办法在同一个运行的应用程序中切换Oracle提供程序?我想我需要设置DLLpath,但不太确定。



任何帮助都将不胜感激。

I have a webapplication that connects to an Oracle 11g database using ODP.NET 11. Everything has been working fine, but where I am working on this project, the company has an old legacy app which connects to an Oracle 7.3.4 database. I need to query this Oracle 7.3.4 database in the new web application. I have Oracle 8i client, but is there a way to switch the Oracle providers in the same running application? Im thinking I need to set DLLpath, but not too sure.

Any help would be greatly appreciated.

推荐答案

我采用了不同的方法并创建了一个Web服务,它将负责访问Oracle 7.3.4并将数据作为对象列表返回。

其余的继续使用ODP.NET访问Oracle 11
I took a different approach and created a webservice that would take care of the access to Oracle 7.3.4 and return the data as an object list.
The rest continues to use ODP.NET for access to Oracle 11


这篇关于Oracle数据访问,更改Oracle客户端版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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