Search found 1891 matches

by marsupilami
23.05.2023, 10:58
Forum: ZeosLib 7.3/8.0 Forum
Topic: Possible issue with 64bit Oracle
Replies: 43
Views: 2290

Re: Possible issue with 64bit Oracle

Duh - as far as I remember, PL/SQL is installed with the express versions of Oracle. So it should be possible. Maybe you could give some example on how to do that?
by marsupilami
23.05.2023, 10:42
Forum: User Contributions
Topic: GetClientVersion for PostgreSQL
Replies: 4
Views: 1293

Re: GetClientVersion for PostgreSQL

I applied the patch. Thank you for the contribution. :)
by marsupilami
22.05.2023, 17:17
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZQuery raising errors
Replies: 5
Views: 517

Re: ZQuery raising errors

Hello Acke,

please post an example of code that generates the problem. This helps us in debugging.

With best regards,

Jan
by marsupilami
17.05.2023, 08:12
Forum: ZeosLib 7.3/8.0 Forum
Topic: Access violation in ZQuery.Refresh
Replies: 10
Views: 689

Re: Access violation in ZQuery.Refresh

RefreshSQl is used for refreshing a single row. In your example it could be something like:

Code: Select all

SELECT * FROM TBL_TEST2 where id = :NEW_ID
by marsupilami
17.05.2023, 08:10
Forum: ZeosLib 7.3/8.0 Forum
Topic: ZQuery raising errors
Replies: 5
Views: 517

Re: ZQuery raising errors

Hello acke. This is expected. What is the problem?
by marsupilami
15.05.2023, 08:18
Forum: ZeosLib 7.3/8.0 Forum
Topic: Access violation in ZQuery.Refresh
Replies: 10
Views: 689

Re: Access violation in ZQuery.Refresh

ZUpdateSQL usuall is only necessary if you want queries that query from more than one table to become writable or if you want to make a readonly view writable or a selectable stored procedure or something like that. For most tasks it isn't necessary. TZQuery tries to build the correct statements for...
by marsupilami
15.05.2023, 08:16
Forum: Documentations
Topic: Systematic comprehensive documentation for Zeoslib
Replies: 1
Views: 740

Re: Systematic comprehensive documentation for Zeoslib

Hello Bruce, a systematic documentation isone of our weaknesses currently. There is a collection of old documentation in the files section on SourceForge . That should give you a starting point. If you are in doubt on how to use things or how to solve a problem, please don't hesitate to ask on the f...
by marsupilami
15.05.2023, 08:12
Forum: Downloads
Topic: Where is the Zeos 7.3 version?
Replies: 6
Views: 4461

Re: Where is the Zeos 7.3 version?

Hello Bruce,

Zeos 8 will be released during the next weeks. We are currently fixing two bugs which I don't want to see in the official release.

With best regards,

Jan
by marsupilami
11.05.2023, 08:41
Forum: ZeosLib 7.3/8.0 Forum
Topic: Lazarus - TZUpdateSQL not bringing its update fields selected
Replies: 8
Views: 594

Re: Lazarus - TZUpdateSQL not bringing its update fields selected

Hello Renato,

currently this is a known issue that I cannot fix. There are other bugs that have to be fixed first.

With best regards,

Jan
by marsupilami
11.05.2023, 08:40
Forum: ZeosLib 7.3/8.0 Forum
Topic: Access violation in ZQuery.Refresh
Replies: 10
Views: 689

Re: Access violation in ZQuery.Refresh

Using ZUpdateSQL usually is only intended if Zeos cannot figure out things for itself. Like when you do a join and want rows to be updateable. For the standard cases ('select field1, field2, field3 from sometable where ....') usually it isn't necessary to use TZUpdateSQL. RefreshSQL is a statement t...
by marsupilami
10.05.2023, 09:47
Forum: ZeosLib 7.3/8.0 Forum
Topic: Access violation in ZQuery.Refresh
Replies: 10
Views: 689

Re: Access violation in ZQuery.Refresh

Honestly I don't use these generators. I simply write my SQL into the properties.

Also I wonder if you really need to use TZUpdateSQL.
by marsupilami
09.05.2023, 09:36
Forum: ZeosLib 7.3/8.0 Forum
Topic: Access violation in ZQuery.Refresh
Replies: 10
Views: 689

Re: Access violation in ZQuery.Refresh

Hello atendimentobed, the problem is the combination of using TZUpdateSQL and having no valid RefreshSQL in TZUpdateSQL. With TZUpdateSQL you tell Zeos to not worry about data and that you will take care of everything. So - you insert a record but provide no value for the ID field. Zeos assumes that...
by marsupilami
08.05.2023, 08:55
Forum: ZeosLib 7.3/8.0 Forum
Topic: Exception when closing application in debug mode
Replies: 4
Views: 438

Re: Exception when closing application in debug mode

As I said - I would ignore the problem since it is only visible in the debugger. The message seems to imply that the access violation happens during the last phases of the tear down of the application where FPC already has given control over access violations back to the operating system. It might b...
by marsupilami
04.05.2023, 16:19
Forum: ZeosLib 7.3/8.0 Forum
Topic: Capture moment of reconnection - does not work
Replies: 13
Views: 770

Re: Capture moment of reconnection - does not work

The first behavior with the EZDatabaseConnectionLostError is the expected behavior. Maybe you want to upgrade your client and see what happens. You could test the Mariadb Connector/C.
by marsupilami
04.05.2023, 15:49
Forum: ZeosLib 7.3/8.0 Forum
Topic: Exception when closing application in debug mode
Replies: 4
Views: 438

Re: Exception when closing application in debug mode

stoffman wrote: 04.05.2023, 07:39 I recently upgraded postgresql client library version from V13 to V15.
Maybe it isn't a problem in Zeos but in the PostgreSQL client library? What happens if you use the old client library?

Honestly I would ignore the problem if it only is visible in the debugger.