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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Oracle Managed and TNS Names

InvincibleSep 21 2012 — edited Aug 16 2013
Hi Alex,
First great session yesterday, it's look like very promising, what I missed was a performance comparison between Managed and Unmanaged provider.

For tnsnames.ora file, as I understood the paths where the managed client is looking for tnsnames.ora are in follow order:
1. Working directory.
2. Path defined in app.config, web.config, machine.config
There should be two more locations:
3: Path defined by TNS_ADMIN env. variable
4 ORACLE_HOME/network/admin path

If you don't want to support TNS_ADMIN and ORACLE_HOME, there should be a public class for parsing tnsnames.ora. Then if I want to use ORACLE_HOME I can find myself the tnsnames.ora file and parse it using this api.
This post has been answered by Alex Keh-Oracle on Aug 15 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 13 2013
Added on Sep 21 2012
9 comments
33,128 views