Firebird and TGuidField

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
zbylo
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 09.01.2018, 03:08

Firebird and TGuidField

Post 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.
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Firebird and TGuidField

Post 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
Fr0sT
Zeos Dev Team
Zeos Dev Team
Posts: 280
Joined: 08.05.2014, 12:08

Re: Firebird and TGuidField

Post by Fr0sT »

There is related topic in FB subforum. I'd suggest to go there and discuss implementation details
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1956
Joined: 17.01.2011, 14:17

Re: Firebird and TGuidField

Post by marsupilami »

Moved to the Firebird Forum.
Post Reply