Autocommit for Package Functions

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Lu53
Posts: 6
Joined: Fri 25 Jul 2008 23:13

Autocommit for Package Functions

Post by Lu53 » Fri 25 Jul 2008 23:23

Hello,

although TOraSession.Autocommit := true is set, a call to a TOraPackage.ExecProc(...) does not auto-commit. Instead, TOraSession.Commit has to be called manually each time.

Is this the intended behaviour?

I'm using ODAC version 5.80.0.38 for Delphi 5.

Kind regards

Lu

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

Post by Plash » Mon 28 Jul 2008 06:35

Yes, this is the intended behaviour. The AutoCommit property of TOraSession does not affect the ExecProc method.

The TOraSession.AutoCommit property is intended to disable AutoCommit in the whole application when you set it to False.

Post Reply