Page 1 of 1

Sharing Connections

Posted: Thu 23 Aug 2007 17:59
by zedmartins
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!

Posted: Mon 27 Aug 2007 14:27
by Antaeus
SDAC does not support such functionality. We will consider support for this feature in one of the next SDAC builds/versions.

Posted: Tue 28 Aug 2007 18:59
by zedmartins
Thanks!

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