Page 1 of 1

Autocommit for Package Functions

Posted: Fri 25 Jul 2008 23:23
by Lu53
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

Posted: Mon 28 Jul 2008 06:35
by Plash
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.