Page 1 of 1

Delphi 10.2 and SDAC 8.0.1: Can not insert empty guid

Posted: Thu 11 May 2017 05:19
by dupe
Hi,

i'm using Delphi 10.2 and SDAC 8.0.1. Inserting an empty guid results in exception.
We got a query like this:

Code: Select all

query.Append();
query.FieldByName('GuidField').AsGuid := TGUID.Empty;
query.Post(); // "Invalid class string" exception
Can you reproduce this behaviour?

Re: Delphi 10.2 and SDAC 8.0.1: Can not insert empty guid

Posted: Thu 11 May 2017 10:01
by ViktorV
Thank you for the information. We have reproduced and fixed the issue. This fix will be included in the next build of SDAC.

Re: Delphi 10.2 and SDAC 8.0.1: Can not insert empty guid

Posted: Thu 11 May 2017 11:51
by dupe
Nice to hear. When is the next release planned?
We want to use Delphi 10.2 in production, but because of the bug we couldn’t.

Re: Delphi 10.2 and SDAC 8.0.1: Can not insert empty guid

Posted: Thu 11 May 2017 12:21
by ViktorV
The new SDAC release is planned for next week.