Delphi 10.2 and SDAC 8.0.1: Can not insert empty guid

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
dupe
Posts: 20
Joined: Wed 15 Jun 2016 13:37

Delphi 10.2 and SDAC 8.0.1: Can not insert empty guid

Post by dupe » Thu 11 May 2017 05:19

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?

ViktorV
Devart Team
Posts: 2299
Joined: Wed 30 Jul 2014 07:16

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

Post by ViktorV » Thu 11 May 2017 10:01

Thank you for the information. We have reproduced and fixed the issue. This fix will be included in the next build of SDAC.

dupe
Posts: 20
Joined: Wed 15 Jun 2016 13:37

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

Post by dupe » Thu 11 May 2017 11:51

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.

ViktorV
Devart Team
Posts: 2299
Joined: Wed 30 Jul 2014 07:16

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

Post by ViktorV » Thu 11 May 2017 12:21

The new SDAC release is planned for next week.

Post Reply