How do I prevent TOraSession from implicit commit ?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
lior
Posts: 36
Joined: Mon 01 Aug 2011 07:11

How do I prevent TOraSession from implicit commit ?

Post by lior » Mon 01 Aug 2011 07:27

If an application is stopped or crashes while TOraSession is in transaction
DML changes are saved anyway.Is there a way to prevent TOraSession
from committing these changes ? The only way I found was using TOraTransaction.DefaultCloseAction:=taRollback.
I need to convert a big BDE application with many TDAtabases components created both at design and run time.Its too complicated adding TOraTransaction every ware.

lior
Posts: 36
Joined: Mon 01 Aug 2011 07:11

Post by lior » Mon 01 Aug 2011 07:47

Just to make it clear,Both TOraSession and TOraTable AutoCommit properties are set to false.
I use Oracle 8I and ODAC 7.20.0.7 Trial edition.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 03 Aug 2011 07:18

Hello,

I have answered you by e-mail.

Post Reply