Search found 607 matches

by marsupilami
22.01.2018, 09:01
Forum: Firebird
Topic: Support for CHAR(16) CHARACTER SET OCTETS
Replies: 14
Views: 125

Re: Support for CHAR(16) CHARACTER SET OCTETS

Hello Frost :) yes - for me widening the metadata schema is the correct option. I think that drivers that don't support the additional column will simply leave it empty (null). Drivers that support it can fill in domains if they are there. For Firebird we have to be cautious to filter the system gen...
by marsupilami
21.01.2018, 22:58
Forum: ZeosLib 7.2 Betatest Forum
Topic: Release Preparation
Replies: 3
Views: 28

Re: Release Preparation

Hello Michal,

the scripts were not prepared to ignore that kind of artifacts yet. I added rules to exclude *.ppu and *.o files.

With best regards, Jan
by marsupilami
21.01.2018, 22:56
Forum: Firebird
Topic: Support for CHAR(16) CHARACTER SET OCTETS
Replies: 14
Views: 125

Re: Support for CHAR(16) CHARACTER SET OCTETS

Hello Fr0st, 3. Add GUID domains list property - ? Requires adding domain column but the resulting RS' scheme is common for all drivers so this addition will touch some piece of generic code. Alternatively type assignment could be done straight inside TZInterbase6DatabaseMetadata.UncachedGet* method...
by marsupilami
21.01.2018, 22:39
Forum: ZeosLib 7.2 Betatest Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 18
Views: 240

Re: Problems in the field editor with fields of the same name in two different tables

Hello Fr0st, I had a look into the problem and have to admint the current code is a mess :( While all you have said is true, the real problem for me is that TZAbstractResultSetMetadata.LoadColumn overwrites the TZColumnInfo without regarding what information already is there. Even worse - it simply ...
by marsupilami
21.01.2018, 16:49
Forum: ZeosLib 7.2 Betatest Forum
Topic: Error in TDatasetUtils.DefineKeyFields
Replies: 2
Views: 38

Re: Error in TDatasetUtils.DefineKeyFields

Hello merlin,

I applied the patch to Zeos 7.2.

With best regards,

Jan
by marsupilami
21.01.2018, 10:34
Forum: ZeosLib 7.2 Betatest Forum
Topic: Release Preparation
Replies: 3
Views: 28

Release Preparation

Hello Guys, I finally had the chance to take a look on the release tools. I couldn't get the documentation part working. But if that is left out it boils down to the scripts copying some files and zipping them up. So I uploaded what can curently be done to the files section: https://sourceforge.net/...
by marsupilami
19.01.2018, 18:00
Forum: ZeosLib 7.2 Betatest Forum
Topic: PostgreSQL TGuid fields - broken again
Replies: 2
Views: 37

Re: PostgreSQL TGuid fields - broken again

Hello Ertan, in which way did TGuid for PostgreSQL break? What doesn't work anymore?
by marsupilami
12.01.2018, 08:17
Forum: Firebird
Topic: Support for CHAR(16) CHARACTER SET OCTETS
Replies: 14
Views: 125

Re: Support for CHAR(16) CHARACTER SET OCTETS

Hello Fr0sT, I suggest to add two parameters. One for the connection and one for the dataset. On the connection there could be a parameter for specifying a GUID domain. For example: ZConnection.Properties.Add('FB_UUID_DOMAIN=FAKEUUID') On the data set there could be a parameter that takes a field li...
by marsupilami
11.01.2018, 18:13
Forum: ZeosLib 7.2 Betatest Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 18
Views: 240

Re: Problems in the field editor with fields of the same name in two different tables

Hello Fr0st, 1) Unquote field names in TZGenericStatementAnalyser.FillFieldRefs - global change for all drivers; the most early processing and does what you plan for 7.3. But: SelectSchema doesn't link to IdentifierConvertor so unquoting will be the same for all drivers or additional reference to co...
by marsupilami
11.01.2018, 10:00
Forum: Firebird
Topic: Support for CHAR(16) CHARACTER SET OCTETS
Replies: 14
Views: 125

Re: Support for CHAR(16) CHARACTER SET OCTETS

Hello Fr0st, I agree that I dislike the pattern idea. And I see the benefits of an approach where the developer specifies which fields are to be treated as GUID-Fields in each and every data set. This is the most flexible approach. But in any bigger application it would require the developer to do t...
by marsupilami
11.01.2018, 09:45
Forum: ZeosLib 7.2 Betatest Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 18
Views: 240

Re: Problems in the field editor with fields of the same name in two different tables

Hello Fr0st, I had a talk with EgonHugeist yesterday. From an API perspective we agree that usually the identifier patterns or identifierrs that go into GetColumns and the like should already have the correct case and should not be quoted. So the right way to go would be to modify all callers to not...
by marsupilami
10.01.2018, 11:56
Forum: Firebird
Topic: Support for CHAR(16) CHARACTER SET OCTETS
Replies: 14
Views: 125

Re: Support for CHAR(16) CHARACTER SET OCTETS

It might make sense to have an option where a domain can be specified that is to be translated into ftGUID. Imagine you declare a domain like this: CREATE DOMAIN FAKEGUID AS CHAR(16) CHARACTER SET OCTETS; The driver then could treat all columns of this domain to be ftGuid. Which domain is to be used...
by marsupilami
10.01.2018, 11:47
Forum: ZeosLib 7.2 Betatest Forum
Topic: Problems in the field editor with fields of the same name in two different tables
Replies: 18
Views: 240

Re: Problems in the field editor with fields of the same name in two different tables

Hello Fr0st,

UncachedGetColumns should be supplied with column names in the correct case - upper case if field names are unquoted. So if the case is not correct the caller should be corrected. I hope, this somehow helps you.

With best regards,

Jan
by marsupilami
10.01.2018, 09:27
Forum: Firebird
Topic: Firebird and TGuidField
Replies: 3
Views: 65

Re: Firebird and TGuidField

Moved to the Firebird Forum.
by marsupilami
09.01.2018, 10:18
Forum: Firebird
Topic: Firebird and TGuidField
Replies: 3
Views: 65

Re: Firebird and TGuidField

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 ...

Go to advanced search