Search found 1929 matches

by marsupilami
09.11.2024, 13:48
Forum: ZeosLib 7.3/8.0 Forum
Topic: one TZConnection and two TZTransactions
Replies: 4
Views: 106

Re: one TZConnection and two TZTransactions

Hello, currently I can't help with this. I added a test to the Zeos test suite, which should demonstrate your problem: procedure ZTestCompInterbaseBugReport.TestForum225651; var T1, T2: TZTransaction; Q1, Q2: TZQuery; function CreateTransaction: TZTransaction; begin Result := TZTransaction.Create(ni...
by marsupilami
09.11.2024, 12:45
Forum: ZeosLib 7.3/8.0 Forum
Topic: TZParam Currency Values Saved as its Int64 representation
Replies: 2
Views: 192

Re: TZParam Currency Values Saved as its Int64 representation

Hello Son,

I think we solved the problem. Please thest the latest 8.0-patches branch.

Best regards,

Jan
by marsupilami
09.11.2024, 12:44
Forum: ZeosLib 7.3/8.0 Forum
Topic: cachedupdate
Replies: 4
Views: 140

Re: cachedupdate

Hello Med,

Zeos stores these records in a cache. By changing the ShowRecordTypes property, you can get Zeos to show the deleted records again.

Note: In most cases using CachedUpdates doesn't make sense anymore. Please use the transaction capabilities of your database instead.

Best regards,

Jan
by marsupilami
05.11.2024, 08:33
Forum: ZeosLib 7.3/8.0 Forum
Topic: cachedupdate
Replies: 4
Views: 140

Re: cachedupdate

Hello Med,

I am not sure, I understand your question correctly. But the value for "after apply update" should simply be the current value that you can access by using Value or one of the AsXXXX-methods?

Best regards,

Jan
by marsupilami
01.11.2024, 07:45
Forum: SQLite
Topic: Next doesn't work in Android Arm v7a
Replies: 4
Views: 111

Re: Next doesn't work in Android Arm v7a

Ok, thanks for the reply. Unfortunately it will take some time, before I can do a test. I first have to familiarize myself with Android development on Lazarus/Freepascal.
by marsupilami
01.11.2024, 07:43
Forum: ZeosLib 7.3/8.0 Forum
Topic: one TZConnection and two TZTransactions
Replies: 4
Views: 106

Re: one TZConnection and two TZTransactions

Hello, this example lacks some necessary information: -> What SQL queries do you feed into Qry1 and Qry2? -> What outcome do you expect? -> What outcome do you see? -> What is the selected Transaction Isolation Level in the Basic connection and in the TZTransaction components? -> Which database do y...
by marsupilami
29.10.2024, 12:04
Forum: SQLite
Topic: Next doesn't work in Android Arm v7a
Replies: 4
Views: 111

Re: Next doesn't work in Android Arm v7a

Duh - hmm - I don't have a clue (yet). The problem is that I cannot test for this target at all. I will have to see if I can set up a test environment. Could you do a small test if this also happens with the FPC builtin components?
by marsupilami
27.10.2024, 10:51
Forum: ZeosLib 7.3/8.0 Forum
Topic: TSQLQUERY : automatically generated update,insert delete statement
Replies: 2
Views: 149

Re: TSQLQUERY : automatically generated update,insert delete statement

Hello Attila, as far as documentation goes, Zeos doesn't use pfInKey. As for pfInUpdate and pfInWhere this is what the documentation says: Fields that don’t have the pfInUpdate flag set will not get updated by Zeos. Fields that don’t have the pfInWhere flag set will not get used for constructing the...
by marsupilami
25.10.2024, 09:28
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8.0.0.0, Arm64, raspbian
Replies: 1
Views: 45

Re: Zeos 8.0.0.0, Arm64, raspbian

Hello marko,

Zeos 8.0 is a point release and only works with FPC 3.2.2. If you want or need to use a newer fpc version, please try the 8.0-patches branch from Subversion or Github.

Best regards,

Jan
by marsupilami
19.10.2024, 12:20
Forum: ZeosLib 7.3/8.0 Forum
Topic: How to replace TZParam.LoadFromFile
Replies: 2
Views: 76

Re: How to replace TZParam.LoadFromFile

Hello tintinux, it seems you are using the "procedure LoadFromFile(const FileName: String; BlobType: TBlobType)" overload. This overload is depreceated. Depending on what you want to load, you might want to switch to using to one of the code page aware overloads of LoadFromFile or to one o...
by marsupilami
19.10.2024, 12:12
Forum: ZeosLib 7.3/8.0 Forum
Topic: Zeos 8.0 + firebird 3 problem with generated fields
Replies: 2
Views: 82

Re: Zeos 8.0 + firebird 3 problem with generated fields

Hello Hatti, Zeos 8 now (correctly) detects that your ID field is required. Zeos will also consider to use it for updates if it is a promary key. Zeos doesn't detect that the field value gets filled in by a trigger. Also a big problem for Zeos would be that it doesn't know the primary key value for ...
by marsupilami
19.10.2024, 10:52
Forum: ZeosLib 7.3/8.0 Forum
Topic: Erro: ZeosLib 8.0 Access violation AlmaLinux 9.4 Lazarus 3.6
Replies: 4
Views: 139

Re: Erro: ZeosLib 8.0 Access violation AlmaLinux 9.4 Lazarus 3.6

Hello, your sample works for me, but I had to do some adjustments. Here is what I did: Install Alma Linux 9 Add Extra Packages for Enterprise Linux: sudo dnf install epel-release Install Firebird: sudo dnf install firebird create sysdba: gsec -add sysdba -pw masterkey create a database with isql (is...
by marsupilami
16.10.2024, 08:00
Forum: Oracle
Topic: How to connect to Oracle without TnsNames.ora?
Replies: 12
Views: 1545

Re: How to connect to Oracle without TnsNames.ora?

Sorry for resurrecting this thread lol... this would make a LOT of sense, but... since we are storing the TnsNames identifier in the Database property it would be hard to impossible to determine whether we need the EasyConnect syntax or we just let oci to try to resolve it. Yes, we can say if the h...
by marsupilami
16.10.2024, 07:48
Forum: ZeosLib 7.3/8.0 Forum
Topic: Erro: ZeosLib 8.0 Access violation AlmaLinux 9.4 Lazarus 3.6
Replies: 4
Views: 139

Re: Erro: ZeosLib 8.0 Access violation AlmaLinux 9.4 Lazarus 3.6

Hello, An unhandled exception occurred at $00000000004813D0: EDatabaseError: Operation cannot be performed on an inactive dataset The error in you stack trace isn't an access violation. It is: "EDatabaseError: Operation cannot be performed on an inactive dataset". Normally this happens whe...
by marsupilami
09.10.2024, 15:19
Forum: ZeosLib 7.3/8.0 Forum
Topic: Erro: ZeosLib 8.0 Access violation AlmaLinux 8.6 Lazarus 2.2.6
Replies: 6
Views: 188

Re: Erro: ZeosLib 8.0 Access violation AlmaLinux 8.6 Lazarus 2.2.6

automacaosamos wrote: 08.10.2024, 17:07 compilation is done normally, on Windows using the crossCompiler.
Ok - in that case I will rephrase my request: Please use the native linux compiler and check what happens. If you still have a problem then, please provide a minimum working example that shows the problem.

Best regards,

Jan