firebird2.5

Firebird Duplicating items C# .NET

主宰稳场 提交于 2021-02-05 10:43:05
问题 We have a Till Software which also works with restaurants built on .NET (C#) and Firebird DB. We are having a strange problem recently, the items in an order are duplicating themselves when we go back to the order. Strangely it's not the case always. It's happening only sometimes. I tried to figure out under what conditions it's happening but it's so random that it doesn't happen for a couple of days and then start duplicating items for the next two days. The software is so huge that I don't

Firebird Error while trying to create file, Permission denied

为君一笑 提交于 2020-05-29 04:19:41
问题 I'm trying to create a Firebird database in my home directory through Flamerobin however I always get *** IBPP::SQLException *** Context: Database::Create Message: isc_dsql_execute_immediate failed SQL Message : -902 Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements Engine Code : 335544344 Engine Message : I/O error during "open O_CREAT" operation for file "/home/user/test.fdb" Error while trying to create file Permission denied even

Firebird Error while trying to create file, Permission denied

ぃ、小莉子 提交于 2020-05-29 04:19:05
问题 I'm trying to create a Firebird database in my home directory through Flamerobin however I always get *** IBPP::SQLException *** Context: Database::Create Message: isc_dsql_execute_immediate failed SQL Message : -902 Unsuccessful execution caused by a system error that precludes successful execution of subsequent statements Engine Code : 335544344 Engine Message : I/O error during "open O_CREAT" operation for file "/home/user/test.fdb" Error while trying to create file Permission denied even

Firebird 2.5 exception handling within autonomous transaction

耗尽温柔 提交于 2020-02-24 11:14:13
问题 I'm experiencing performance drop in one of our Firebird stored procedures and I have no clue why. I have found the following code in the mentioned SP: declare v_dummy integer; ... in autonomous transaction do begin -- insert may fail, but that is not a problem because it means the record is already there insert into my_table(my_field) values (:input_param); when ANY do v_dummy = 1; end I see few dozens of records in RDB$TRANSACTIONS table with STATE 3, no relevant records in MON$TRANSACTIONS

Firebird 2.5 exception handling within autonomous transaction

本秂侑毒 提交于 2020-02-24 11:13:10
问题 I'm experiencing performance drop in one of our Firebird stored procedures and I have no clue why. I have found the following code in the mentioned SP: declare v_dummy integer; ... in autonomous transaction do begin -- insert may fail, but that is not a problem because it means the record is already there insert into my_table(my_field) values (:input_param); when ANY do v_dummy = 1; end I see few dozens of records in RDB$TRANSACTIONS table with STATE 3, no relevant records in MON$TRANSACTIONS

How to get correct year, month and day in firebird function datediff

只愿长相守 提交于 2020-02-15 22:50:45
问题 I have to ask another question about datediff in Firebird. I don`t know how to get correct result in this case: worker x has two contract of employment, first in the period 1988-09-15 to 2000-03-16, second from 2000-03-16 to 2005-02-28. The result that I want to get is like this 16 years, 5 months and 3 days, because the result of first is 11 years, 6 months and 1 day, and the second result is 4 years, 11 months and 2 days. Has anyone can tell me how to do this in firebird. Most I would like

Can one (repeatedly) restructure a Firebird table in a single transaction?

孤街浪徒 提交于 2020-01-26 04:07:04
问题 Normally, I'd do a relatively complicated change of data type on column A like this: Create column B of the new data type Set B to contain the new values derived from A Drop A Rename B to A To guarantee the validity of my data model, I'd like to perform such restructuring within a single transaction. So far, I have not been able to do that, because, depending on the isolation level, either B is not considered to exist yet, or I'm not allowed to rename B ("update conflicts with concurrent

Windows Authentication in Firebird 2.5

本小妞迷上赌 提交于 2020-01-14 14:38:28
问题 Can I login to firebird database using a Windows user instead of using SYSDBA and MASTERKEY credential? If Yes, please let me know the way to connect to the firebird database. I am using Delphi XE3 and Firebird 2.5. I need to authenticate user by logged in user after updating config file for "trusted" in place of default "native" as specified here: https://firebirdsql.org/file/documentation/release_notes/html/en/2_5/rnfb25-fbconf-authent.html This is my code : SQLConnection1.LoginPrompt :=

Entity Framework NullReferenceException calling ToList?

∥☆過路亽.° 提交于 2020-01-14 09:32:10
问题 I'm very new to WPF and the EF, and I'm trying to display some data from a table in a datagrid. I've got the entity model pulled from an existing database and simple operations seem to work (getting row counts, using 'first'). I'm running against Firebird 2.5.0 using the 2.0.5 DDEX provider and 2.5.2 ADO NETProvider. When I try to get the data into the grid or simply into a list, I get a null reference exception. Possibly I just don't understand how to use the entity framework, but the