Sharing Connections

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
zedmartins
Posts: 18
Joined: Wed 11 Jul 2007 20:59
Location: Brazil

Sharing Connections

Post by zedmartins » Thu 23 Aug 2007 17:59

Hello you all,

I'm trying to change my application to use ODAC e SDAC instead of Borland ADO Components.

I've created a new component (TXConnection) which creates internally, at runtime and design time, a TOraSession (ODAC) or a TMSConnection (SDAC) according to registry settings.

I have to make two TXConnections share same connection handles.
Using ADO I can do:
ADOConnection1.ConnectionObject := ADOConnection2.ConnectionObject;
Using ODAC is also very simple:
OraSession1.AssignConnect(OraSession2);

But I could not figure out how to do it using SDAC components...

Any help?

thanks!

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 27 Aug 2007 14:27

SDAC does not support such functionality. We will consider support for this feature in one of the next SDAC builds/versions.

zedmartins
Posts: 18
Joined: Wed 11 Jul 2007 20:59
Location: Brazil

Post by zedmartins » Tue 28 Aug 2007 18:59

Thanks!

I hope you decide to do it very soon...

Post Reply