#1 2014-09-15 11:28:52

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 506

TGUID Support for Crossplatform

Hi AB,

atm i want to add a record to a table wich contains a TGUID stored AS_UNIQUE.
This is not possible with the CrossPlatform Client.

In SynCrossPlattformJSON.GetInstanceProp the Code for tkRecord is missing.

Pls Help

Last edited by itSDS (2014-09-15 11:29:32)


Rad Studio 12.1 Santorini

Offline

#2 2014-09-15 12:34:03

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,226
Website

Re: TGUID Support for Crossplatform

Indeed.

Could you please create a ticket?

Online

#3 2014-09-15 13:01:23

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 506

Re: TGUID Support for Crossplatform

Ticket created smile

atm i switched to RawUTF8(38) instead of TGUID

With this modification it works.


Rad Studio 12.1 Santorini

Offline

#4 2014-09-15 13:27:55

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,226
Website

Re: TGUID Support for Crossplatform

Sounds like a code defect to me than a Feature Request.

Temporary workaround is indeed to use a RawUTF8 for the field.
In all cases, the TGUID record will be stored as a a TEXT column, so there is no performance issue, and the client will be compatible even with a TGUID defined on the server side.

Online

#5 2014-11-11 14:56:25

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,226
Website

Re: TGUID Support for Crossplatform

TGUID did work for records and interface based services, but not for published properties of TSQLRecord.

Should have been fixed by http://synopse.info/fossil/info/b8ae4018c1

Online

Board footer

Powered by FluxBB