Commit

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
wjm4
Posts: 72
Joined: Mon 12 Feb 2007 21:31

Commit

Post by wjm4 » Sun 04 Jan 2009 01:50

When are commits done in unidac? in particular using oracle?

I noticed that when I do a session->commit() I get an exception thrown. Is there a reason for this?

Also I noticed that the AutoCommit property is not in the properties list.

Thanks for the Clarification.

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

Post by Plash » Mon 05 Jan 2009 08:36

UniDAC executes statements in the autocommit mode with Oracle unless you call the StartTransaction method. After you call this method autocommit is disabled. You should call Commit or Rollback to finish the transaction. After this autocommit is enabled.

Post Reply