Mr.Darcy
Mr.Darcy

Reputation: 21

AnyDAC (FireDAC) - Open transaction after TBlobField.GetAsString

at the moment we are migrating the database component of our Delphi7 application from the BDE components to the AnyDAC (FireDAC) Version 8.0.5 components.

The following prerequisites are given:

During the loading of the blob text field content (TBlobField.GetAsString) the TADTable starts automatically an transaction which would not committed.

Is this behavior normal? Do we have any possiblity to avoid this open transaction? Please note, deactivating of the AutoCommit is no option at the moment.

Any help appreciated.

Upvotes: 0

Views: 277

Answers (1)

Victoria
Victoria

Reputation: 7912

Yes, that is a normal behavior. So long you are not fetching BLOB data along with the detail tuple, AnyDAC starts an implicit transaction for fetching those BLOB data.

Upvotes: 1

Related Questions