TOraSession Connect / Disconnect Problem

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Roy Fraties
Posts: 4
Joined: Fri 03 Apr 2009 18:23

TOraSession Connect / Disconnect Problem

Post by Roy Fraties » Tue 01 Sep 2009 20:59

I have two TOraSession components in my application. When the second one connects, the first one automatically disconnects. I don't want that to happen. Each connects to a different database.

Both sessions operate in "direct" mode.

What properties should I check in order to fix this.

This is ODAC version 6.5.0.12 working under Delphi 5.

Thank you.

Roy Fraties
Posts: 4
Joined: Fri 03 Apr 2009 18:23

Problem Fixed

Post by Roy Fraties » Tue 01 Sep 2009 22:24

OK, if one of the two session components is in direct mode, and the other is not, then it causes a problem. Both must be in direct mode or both in OCI mode, and then it works.

Post Reply