Unidac and tnsnames

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
alexanderm
Posts: 5
Joined: Wed 16 Feb 2011 20:44

Unidac and tnsnames

Post by alexanderm » Thu 17 Feb 2011 20:03

Hi

Is it possible to use unidac with the server/database/port settings instead
of the tns settings. I was hoping that unidac works the same a odac that would work without the need to install a oracle client.

Regards

/M

alexanderm
Posts: 5
Joined: Wed 16 Feb 2011 20:44

Direct Mode

Post by alexanderm » Thu 17 Feb 2011 20:19

To connect in direct mode you should use the following syntax: : Server := Host:Port:SID

Sorry a bit of searching and reading present me with the solution
and it seems to work for me

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Fri 18 Feb 2011 08:08

Hello,

To connect in the direct mode you should set the Direct specific option to true like:

UniConnection1.SpecificOptions.Values['Direct']:= 'true';

or set this option in the connection dialog 'Options' tab, and set the Server property to
'Host:Port:SID'

Post Reply