Page 1 of 1

Firebird and TGuidField

Posted: 09.01.2018, 03:20
by zbylo
Is it possible that Zeos based TDataset descendants recognize CHAR(16) CHARACTER SET OCTETS column type as TGuidField instead of TBytesField? The CHAR(16) CHARACTER SET OCTETS is a recommended way for Interbase/Firebird to store UUID values.

Re: Firebird and TGuidField

Posted: 09.01.2018, 10:18
by marsupilami
Hello zbylo,

it is possible - yes. But since CHAR(16) CHARACTER SET OCTETS also could be something else, it is unlikely to get implemented. One could implement a switch for specifically enabling a behaviour like this. If you want to try to implement this, I will help you as good as I can.

With best regards,

Jan

Re: Firebird and TGuidField

Posted: 09.01.2018, 13:15
by Fr0sT
There is related topic in FB subforum. I'd suggest to go there and discuss implementation details

Re: Firebird and TGuidField

Posted: 10.01.2018, 09:27
by marsupilami
Moved to the Firebird Forum.