Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Upgrading from ODP.NET 10 to OPD.NET 11

gemmaddyJun 6 2013 — edited Jun 12 2013
Hi,

We have several applications hosted on a server using ODP.NET 10, but we are the first to decide to upgrade to ODP.NET 11 which means we need a method where only our application uses ODP.NET 11 without affecting any other existing applciations.

I've read about the policy files which automatically redirects application to use latest version installed on the machine. Is there a mothod available which can avoid this situation as the owners of other application may not allow this to happen.

How can I ensure that my application is using ODP.NET 11 or ODP.NET 10 if both are installed? I created two sample app one with Oracle.DataAccess.dll 10.2.0.100 and other one with Oracle.DataAccess.dll 2.112.3.0. With below line of code, I found both applciations are showing Oracle.DataAccess 2.112.3.0 at runtime.

System.Data.Common.DbProviderFactories.GetFactoryClasses();

Last thing, I may be wrong saying latest ODP.NET wouldn't work with NHibernate 1.0.3.0. please validate.

Best Regards
Manish
This post has been answered by gdarling - oracle on Jun 6 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2013
Added on Jun 6 2013
4 comments
922 views