Direct Connect w/ tnsnames.ora
Direct Connect w/ tnsnames.ora
Howdy,
Just downloaded a trial and skimmed through the docs, but couldn't find a way to connect directly (Direct=True) to Oracle AND specify a tnsnames.ora file in which to find the other connect information.
Is there a way to do this? Something like:
Home=C:\oracle\product\11gR2\client_32;
Direct=true;
Server=devods.world;
User Id=dispatch;
Password=***;
Pass Parameters By Name=true;
Thanks.
Jason
Just downloaded a trial and skimmed through the docs, but couldn't find a way to connect directly (Direct=True) to Oracle AND specify a tnsnames.ora file in which to find the other connect information.
Is there a way to do this? Something like:
Home=C:\oracle\product\11gR2\client_32;
Direct=true;
Server=devods.world;
User Id=dispatch;
Password=***;
Pass Parameters By Name=true;
Thanks.
Jason
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
In the Direct mode, Oracle client software is not used to connect to the Oracle server. Therefore, tnsnames.ora entries cannot be used in the connection string. Instead, the host and SID of the Oracle server should be specified:
Please tell us if this helps.
Code: Select all
Direct=true;
Server=[DNS name or IP of the machine where the Oracle server resides];
SID=[the SID parameter from the 'devods.world' entry in tnsnames.ora];
User Id=dispatch;
Password=***;
Pass Parameters By Name=true;
It certainly answers the question.
Just because we choose to take advantage of connecting directly, that shouldn't preclude dotConnect from taking advantage of a tnsnames.ora file that may be on the system for other purposes/applications. Granted, the information doesn't change often, but when it does there are now at least two places to make updates rather than one.
No worries. We can certainly work around it. Thanks for the reply.
Jason
Just because we choose to take advantage of connecting directly, that shouldn't preclude dotConnect from taking advantage of a tnsnames.ora file that may be on the system for other purposes/applications. Granted, the information doesn't change often, but when it does there are now at least two places to make updates rather than one.
No worries. We can certainly work around it. Thanks for the reply.
Jason
-
- Devart Team
- Posts: 1710
- Joined: Thu 03 Dec 2009 10:48
Re: Direct Connect w/ tnsnames.ora
Is this feature already implemented?
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: Direct Connect w/ tnsnames.ora
The feature of using tnsnames.ora entries in the Direct connection mode is not implemented yet. We are investigating the possibility to implement this feature, but we can't tell any timeframe at the moment.
Re: Direct Connect w/ tnsnames.ora
What is the status for this feature?
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: Direct Connect w/ tnsnames.ora
We are investigating the possibility to implement using tnsnames.ora entries in the Direct connection mode, but we can't tell any timeframe at the moment.
Re: Direct Connect w/ tnsnames.ora
I keep trying
Any timeframe for implementing this feature?
Any timeframe for implementing this feature?
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: Direct Connect w/ tnsnames.ora
Unfortunately this feature still isn't on our to do list, and no timeframe is available.