odac 6.80.0.48 bcb 2009,changes NOT commited,AutoCommit True
Posted: Fri 25 Sep 2009 07:57
I have a datamodule and a form with a TOraSession, a TSmartQuery with as sql:
and CachedUpdates false, a TOraDataSource, a TCRDBGrid, and a TDBNavigator.
Autocommit is false in TOraSession, and true in TSmartQuery.
I have a button "commit" that makes:
When Opening form, I Open() The smartQuery.
In bcb 6, this program worked fine (with an older version of odac), and changes were commited as soon as ApplyUpdates() was executed.
In bcb2009, the changes are NOT commited when executing ApplyUpdates() and are commited ONLY when exiting application.
Any hint????
Code: Select all
select a.rowid, a.* from cec.myTable aAutocommit is false in TOraSession, and true in TSmartQuery.
I have a button "commit" that makes:
Code: Select all
Orasession->ApplyUpdates();In bcb 6, this program worked fine (with an older version of odac), and changes were commited as soon as ApplyUpdates() was executed.
In bcb2009, the changes are NOT commited when executing ApplyUpdates() and are commited ONLY when exiting application.
Any hint????