BDE previously used, the changes only went to the bank when executing SQL COMMIT, now UniQuery data already go to the bank when executing "UniQuery.Post. I use "UPDATE NOWAIT" to lock the records in the register, so when I run. Post, performs the COMMIT and removes
LOCK, would set this up? For the data only being sent to the bank after the COMMIT.
Unidac use with Oracle and Delphi 7
Commit with UniQuery
Sorry, this option is available in ODAC.
In the UniDAC components to commit changes manually you should start transaction manually:
All changes will be posted to database after calling UniConnection1.Commit only.
In the UniDAC components to commit changes manually you should start transaction manually:
Code: Select all
begin
UniConnection1.StartTransaction;
... // change your data
UniConnection1.Commit;
end;
AutoCommit property for TUniQuery
Please add AutoCommit property for TUniQuery (and others) in future relases of Unidac. Please. I have done it in my sources but I think it should be part of standard Unidac. At least for compatibility with BDE.