Bug in Assigning OraSession.ConnectString

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
a-s-z
Posts: 106
Joined: Wed 03 Dec 2008 06:01

Bug in Assigning OraSession.ConnectString

Post by a-s-z » Fri 27 Sep 2013 07:06

Hi,

the ServiceName in ConnectString will get "transformed" to SID, when you assign sess2.ConnectString := sess1.ConnectString, so if you have a sess1 with server:1521:sn=sname, sess2 will try to connect to server:1521:sid=sname. :(

Problem seems to be in TDirectServerInfo.GetServerInfo, that does not qualify if sid or service name is used.


BTW: Critical update 9.1.4 is out, so I wonder why the announcment is missing?

Best regards,
Andre

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

Re: Bug in Assigning OraSession.ConnectString

Post by AlexP » Mon 30 Sep 2013 09:31

Hello,

Thank you for the information. We have fixed the problem. This fix will be included in the next ODAC version

Post Reply