Firebird and TGuidField

Forum related to Firebird

Moderators: gto, cipto_kh, EgonHugeist

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

Firebird and TGuidField

Postby zbylo » 09.01.2018, 03:20

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
Gold Boarder
Gold Boarder
Posts: 673
Joined: 17.01.2011, 14:17

Re: Firebird and TGuidField

Postby marsupilami » 09.01.2018, 10:18

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: 120
Joined: 08.05.2014, 12:08

Re: Firebird and TGuidField

Postby Fr0sT » 09.01.2018, 13:15

There is related topic in FB subforum. I'd suggest to go there and discuss implementation details

marsupilami
Gold Boarder
Gold Boarder
Posts: 673
Joined: 17.01.2011, 14:17

Re: Firebird and TGuidField

Postby marsupilami » 10.01.2018, 09:27

Moved to the Firebird Forum.


Return to “Firebird”

Who is online

Users browsing this forum: No registered users and 1 guest