Managing Transaction in Direct Mode [resolve]

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ChristopheF
Posts: 2
Joined: Wed 23 Apr 2008 09:15
Location: France

Managing Transaction in Direct Mode [resolve]

Post by ChristopheF » Wed 23 Apr 2008 09:22

I wonder to know if there is anyway to manage Commit, Rollback transaction when using OraSession in direct mode. As I understood it seems there is no cache updates in this mode. Is this mean that all your statments are directly posted to the DB and there is no way to rollback your work in this mode?

Thanks for your answear.
Last edited by ChristopheF on Thu 24 Apr 2008 08:21, edited 1 time in total.

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

Post by Plash » Wed 23 Apr 2008 14:10

Transactions are Oracle server feature. They are supported in Direct mode same as in OCI mode.

ChristopheF
Posts: 2
Joined: Wed 23 Apr 2008 09:15
Location: France

Post by ChristopheF » Thu 24 Apr 2008 08:18

Thanks for the very fast reply.

In fact because I'm a new ODAC component user I wanted to use the TOraTransaction like the way I was working with ibExpress component. This component was giving an error saying that it does not work with direct mode. After I saw the InTransaction and Comit Rollback method on TOraSession and I didn't find time to update the topic saying I found the solution.

Thanks again for the answear.

Post Reply