Search found 53 matches

by duzenko
05.02.2019, 17:50
Forum: ZeosLib 7.2 Forum
Topic: Bug in TZDefaultIdentifierConvertor.GetIdentifierCase?
Replies: 25
Views: 2845

Re: Bug in TZDefaultIdentifierConvertor.GetIdentifierCase?

- Which version of Zeos do you use? Do you use the latest ZIP or do you get your Zeos from SVN? Stable 7.2.4 - Which RDBMS do you use? And which Version of that RDBMS? Firebird 2.5 - Which OS do you use and which version of that OS? Windows 10 - Which Version of Delphi or Lazarus/FPC do you use? 200...
by duzenko
05.02.2019, 17:48
Forum: ZeosLib 7.2 Forum
Topic: 'GetULong' differs from declaration in interface 'IZResultSet'
Replies: 5
Views: 740

Re: 'GetULong' differs from declaration in interface 'IZResultSet'

Goes without saying that I cleared a few times the dcu's and I fully deleted the Zeos folder and uncompressed from downloaded zip afresh
by duzenko
05.02.2019, 17:06
Forum: ZeosLib 7.2 Forum
Topic: Bug in TZDefaultIdentifierConvertor.GetIdentifierCase?
Replies: 25
Views: 2845

Bug in TZDefaultIdentifierConvertor.GetIdentifierCase?

{** written by FrOsT} function TZDefaultIdentifierConvertor.GetIdentifierCase( const Value: String; TestKeyWords: Boolean): TZIdentifierCase; ... begin ... { Checks for reserved keywords. } if Metadata.GetDatabaseInfo.StoresUpperCaseIdentifiers and (Result <> icUpper) then S := UpperCase(Value) els...
by duzenko
05.02.2019, 13:58
Forum: ZeosLib 7.2 Forum
Topic: 'GetULong' differs from declaration in interface 'IZResultSet'
Replies: 5
Views: 740

'GetULong' differs from declaration in interface 'IZResultSet'

I have this error in 2007 and D7.2.4, only now it's manifesting as [DCC Error] ZDbcResultSet.pas(363): E2211 Declaration of 'GetULong' differs from declaration in interface 'IZResultSet' [DCC Error] ZDbcResultSet.pas(363): E2211 Declaration of 'GetULongByName' differs from declaration in interface '...
by duzenko
05.02.2019, 13:29
Forum: ZeosLib 7.2 Forum
Topic: Update only the changed fields
Replies: 4
Views: 892

Re: Update only the changed fields

Thank you
It seems to rely exclusively on the primary keys in DB (I mean the sql where clause)
Is there any way I can pass the index field name via TZTable parameters? I don't have the actual primary key in the DB for that table.
by duzenko
01.02.2019, 15:09
Forum: ZeosLib 7.2 Forum
Topic: Update only the changed fields
Replies: 4
Views: 892

Update only the changed fields

Hi, I wonder if it possible to only include the actually changed fields in TZGenericCachedResolver.FormUpdateStatement? My problem is that my program is being used in the multi-user environment and sometimes users change the same record (but different fields) from different connections. Since all fi...
by duzenko
20.07.2016, 11:04
Forum: Firebird
Topic: Concurrent update
Replies: 2
Views: 2203

Re: Concurrent update

Perfect! This code works like a charm procedure TForm2.Timer1Timer(Sender: TObject); begin Timer1.Enabled := false; with TZQuery.Create(nil) do try ZConnection1.StartTransaction; SQL.Text := 'update nextrans set pizza=pizza+1 returning pizza'; Connection := ZConnection1; Open; Caption := Fields[0].A...
by duzenko
18.07.2016, 15:31
Forum: Firebird
Topic: Concurrent update
Replies: 2
Views: 2203

Concurrent update

Hi, I can't get concurrent updates working I created a new test program that only has a ZConnection component with Transaction Isolation set to read commited, and a Timer. The timer code is this: procedure TForm2.Timer1Timer(Sender: TObject); begin Timer1.Enabled := false; ZConnection1.AutoCommit :=...
by duzenko
24.03.2016, 14:34
Forum: ZeosLib 7.2 Forum
Topic: Firebird3 compression
Replies: 1
Views: 640

Firebird3 compression

Hi all,

It seems that the firebird3 driver in zeoslib is just a copy of firebird25 which means no real protocol updates?
The one that interests me is the new compression feature introduced in firebird3

Can you maybe point me to delphi firebird components supporting ver3 compression?
by duzenko
16.03.2016, 12:38
Forum: MySQL
Topic: ZConnection hangs for nonexistent server
Replies: 5
Views: 2927

Re: ZConnection hangs for nonexistent server

Does Ping not only work for if there is a connection already?
I.e. you can't test for Ping before Connect
by duzenko
04.08.2015, 11:38
Forum: ZeosLib 7.1 stable Forum
Topic: MSSQL lower case -> readonly
Replies: 7
Views: 1162

Re: MSSQL lower case -> readonly

marsupilami wrote:Could you please check, wether it solves your problem?
Thanks a lot. The datasets are not readonly anymore
by duzenko
29.07.2015, 13:32
Forum: ZeosLib 7.1 stable Forum
Topic: MSSQL lower case -> readonly
Replies: 7
Views: 1162

Re: MSSQL lower case -> readonly

Hello duzenko, it is my experience that you will get editable fields if you provide information about the field source to the upper layers of Zeos. Take a look at the code of TZDBLibResultSet.Open in ZDbcDbLibResultSet.pas. It provides information about the fields to the component layer of Zeos. Bu...
by duzenko
24.07.2015, 09:50
Forum: ZeosLib 7.1 stable Forum
Topic: MSSQL lower case -> readonly
Replies: 7
Views: 1162

Re: MSSQL lower case -> readonly

Hi Jan,

I'm using protocol FreeTDS_MsSQL>=2005 (same thing with mssql) and the appropriate dblib.dll (ntwdblib.DLL)
Server version is 2008 R2
Any help is greatly appreciated
by duzenko
23.07.2015, 17:25
Forum: ZeosLib 7.1 stable Forum
Topic: MSSQL lower case -> readonly
Replies: 7
Views: 1162

MSSQL lower case -> readonly

I have a software that is supposed to function across a number of different sql servers Right now I have it more or less working with Firebird, MySQL and SQLite I am now tasked to add support of MS SQL The problem is, my software (ported from dbaseIV) makes use of many TZQuery's Edit and Insert meth...
by duzenko
22.06.2011, 09:04
Forum: 6.6 - stable
Topic: Bugs again
Replies: 2
Views: 580

Bugs again

I just updates to the latest version in svn and it's all the old bugs again 1) firebird sql keyword list not full 2) "_" symbol treated as wildcard in table names it's all been there for years now http://zeos.firmos.at/viewtopic.php?t=3077&start=0&postdays=0&postorder=asc&h...