Search found 1889 matches

by marsupilami
14.06.2024, 17:25
Forum: ZeosLib 7.3/8.0 Forum
Topic: does zeos8 support firebird v. 2.1?
Replies: 3
Views: 119

Re: does zeos8 support firebird v. 2.1?

"database driver not found" means exactly that. Which value do you set to the TZConnection.Protocol property?

To me it seems that you use something like the old "firebird-21" protocol. Just switch to "firebird".
by marsupilami
08.06.2024, 11:11
Forum: Announcements
Topic: Release of Zeos 8.0.0
Replies: 3
Views: 4992

Re: Release of Zeos 8.0.0

Which version of Lazarus and FPC do you use? How is the configuration of you TZConnection object? Can you maybe share a sample application that generates the probelm?
by marsupilami
08.06.2024, 00:27
Forum: ZeosLib 7.3/8.0 Forum
Topic: Firebird DB on Android 14
Replies: 7
Views: 477

Re: Firebird DB on Android 14

Hello Sakis, after using a lot of time today for finding what is wrong here, I found this bug report: https://github.com/FirebirdSQL/firebird/issues/8110 Essentially the following line in my logs brought me there: libc : FORTIFY: fcntl(F_SETFD) passed non-FD_CLOEXEC flag: 0x80000 So this is a known ...
by marsupilami
06.06.2024, 09:59
Forum: ZeosLib 7.2 Forum
Topic: sqlite3 database locked with 7.2.12/8.0.0, ok with 7.1.4
Replies: 9
Views: 192

Re: sqlite3 database locked with 7.2.12/8.0.0, ok with 7.1.4

Hello,

on drivers that need their data fetched into memory, we usually do that internally (dblib) or have the client library handle this (mysql, postgresql).

Could you maybe prepare a small example application that demonstrates the problem?

Best regards,

Jan
by marsupilami
05.06.2024, 15:34
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zsqlprocessor1 error comment in end scrit
Replies: 2
Views: 65

Re: Zsqlprocessor1 error comment in end scrit

Hello,

the problem is that the comment at the end of the script generates an empty statement. Not all databases support this. The follwoing will work:

Code: Select all

/*test*/
update table set id = 1;
update table set idcode = 1
/*test 2, note the missing semicolon in the line before.*/
Best regards,

Jan
by marsupilami
04.06.2024, 12:42
Forum: ZeosLib 7.2 Forum
Topic: sqlite3 database locked with 7.2.12/8.0.0, ok with 7.1.4
Replies: 9
Views: 192

Re: sqlite3 database locked with 7.2.12/8.0.0, ok with 7.1.4

Hello,

could you please check if this works correctly with Zeos 8? We don't want to do work on Zeos 7.2 anymore if at all possible.

Best regards,

Jan
by marsupilami
04.06.2024, 12:41
Forum: ZeosLib 7.3/8.0 Forum
Topic: Where is RequesLive
Replies: 3
Views: 105

Re: Where is RequesLive

As far as TZUpdateSQL goes: Please use it only if you have to. Zeos should handle these things in a lot of cases automatically. If you have to use TZUpdateSQL: Fill in the InsertSQL, UpdateSQL and DeleteSQL properties as needed. Use :<FIELDNAME> in the SQL statamants to have parameters for the new f...
by marsupilami
04.06.2024, 12:36
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zsqlprocessor1 error commit work
Replies: 5
Views: 173

Re: Zsqlprocessor1 error commit work

You are not supposed to use commit in the script.

Call TZConnection.Commit after you executed the script successfully.
by marsupilami
03.06.2024, 10:18
Forum: ZeosLib 7.3/8.0 Forum
Topic: Where is RequesLive
Replies: 3
Views: 105

Re: Where is RequesLive

Hello kikep, RequestLive is a very old property that was remved with Zeos 7.0. RequestLive had the inverse meaning to the ReadOnly property. When RequestLive was set, an updateable result set was requested. So if the manual says you should set RequestLive to true, this translates to set ReadOnly to ...
by marsupilami
03.06.2024, 10:13
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zsqlprocessor1 error commit work
Replies: 5
Views: 173

Re: Zsqlprocessor1 error commit work

Hello,

could you please try to create a sample project that shows the error? I use Firebird on a daily basis with TZSQLProcessor and for me it works.

Best regards,

Jan
by marsupilami
27.05.2024, 12:25
Forum: ZeosLib 7.3/8.0 Forum
Topic: Exception. TZAbstractRODataset.GetRecord
Replies: 3
Views: 182

Re: Exception. TZAbstractRODataset.GetRecord

Hello,

could you please check if the latest 8.0-patches branch from SVN fixes your problems?

Best regards,

Jan
by marsupilami
27.05.2024, 12:23
Forum: ZeosLib 7.3/8.0 Forum
Topic: Sorting by calculated field does not work
Replies: 9
Views: 769

Re: Sorting by calculated field does not work

Hello,

we think we solved your problem. Could you please check if the latest 8.0-patches branch works for you?

Best regards,

Jan
by marsupilami
24.05.2024, 13:15
Forum: ZeosLib 7.3/8.0 Forum
Topic: problem with postgresql inserts
Replies: 8
Views: 196

Re: problem with postgresql inserts

Hello marko,

unfortunately there is nothing attached to your last post.

Best regards,

Jan
by marsupilami
24.05.2024, 08:22
Forum: ZeosLib 7.3/8.0 Forum
Topic: TZQuery Invalid token "STATUS" apostrophe
Replies: 4
Views: 149

Re: TZQuery Invalid token "STATUS" apostrophe

Hello Joe, this really is strange. In TZQuery the insert statement is auto-generated, how can i manipulate this ? I even don't know, why this " is auto-generated only for my "STATUS" field. Seems mysterious to me... You could use TZUpdateSQL to provide your own statements, so Zeos doe...
by marsupilami
23.05.2024, 15:16
Forum: ADO
Topic: Change timeOut
Replies: 1
Views: 171

Re: Change timeOut

Hello Enrique,

usually this would be part of the connection string. Mabe a look at https://www.connectionstrings.com/ can give you an idea? ;)

Please note: We want to discontinue support for ADO. You might want to check if your application works correctly with the OLEDB driver.

Best regards,

Jan