TSession.InLocalTransaction

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MichelBaily
Posts: 2
Joined: Tue 06 Mar 2007 08:35

TSession.InLocalTransaction

Post by MichelBaily » Tue 06 Mar 2007 08:46

Hi everybody,

Trying to recompile in D7 an old application written in D6, i get an error as TORASession.InLocalTransaction doesn't exists anymore...
in this construction

Code: Select all

Result := SessionMoney.InLocalTransaction or SessionMoney.InTransaction;
Does anybody now what appens to this and how can I modify my code ?
Can I just leave the InTransaction test ?

Thanks in advance,

Michel

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 06 Mar 2007 13:12

Yes, for current ODAC version it is enough to check result of the TOraSession.InTransaction method.

MichelBaily
Posts: 2
Joined: Tue 06 Mar 2007 08:35

Post by MichelBaily » Thu 08 Mar 2007 14:47

Ok ! Thanks a lot !

Post Reply