I have upgraded my Delphi 7 application to use Delphi 10.3 community edition and using FireDac components instead of IBExpress, also the database upgraded from Firsbird 1.5 to Firsbird 2.5, everything seems to be working fine and I have few customers upgraded to our new version, 2 of my customers had intermittent problem where the system freezes and they can't do anything so they have to hard restart the computer, but the biggest problem is that all data which they have entered on that day all lost!! in my code I use transactions and I commit changes when the transaction succeed.
I use the memory leak which comes with Delphi (ReportMemoryLeaksOnShutdown := DebugHook <> 0) and I have eliminated most of the leaks.
I control the transaction in this way
fdTransaction.StartTransactionAny help would be appreciated.
Do you setup here transaction to the dataset (FDQuery1.Transaction:= fdTransaction )?
e.g.
fdTransaction.StartTransaction
try
FDQuery1.Transaction:= fdTransaction;
...
..
fdTransaction.Commit;
except
fdTransaction.Rollback;
raise;
end;
All your data go throught default FDConnection transaction and when rolled back you lost all data.
Regards,
Karol Bieniaszewski
--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/1db9f165-fc09-42e8-91f9-ff0910f1ce6en%40googlegroups.com.