Page 1 of 1

TSession.InLocalTransaction

Posted: Tue 06 Mar 2007 08:46
by MichelBaily
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

Posted: Tue 06 Mar 2007 13:12
by Plash
Yes, for current ODAC version it is enough to check result of the TOraSession.InTransaction method.

Posted: Thu 08 Mar 2007 14:47
by MichelBaily
Ok ! Thanks a lot !