firebird

Laravel 6 can not found vendor class from the fast-tuned package that was released for the Laravel 5

徘徊边缘 提交于 2020-03-04 18:36:10
问题 I am trying to use Firebird 3.0 from Laravel 6.0 and I am following https://firebirdsql.org/file/documentation/reference_manuals/fbdevgd-en/html/fbdevgd30-php-Laravel-crt-project.html where the package https://github.com/sim1984/laravel-firebird is suggested. Unfortunately, this package is intended for Laravel 5.7 (or maybe it has not been published in composer repositories) that is why I received the following message while I was trying to install this package: [InvalidArgumentException]

Delphi & Datasnap - Connection Timeout, Communicataion Timeout or a way to avoid Client App to hang when no server response

放肆的年华 提交于 2020-03-02 05:44:34
问题 I am trying to use a Client-Server Datasnap based architecture. The client is inside an Android App that connects by Wifi with the Server Program which runs in a PC. This are the server and client features: Server Side: Server Methods TSQLConnection Driver: Firebird. KeepConnection: true. Server Container TDSServer Queuesize: 100 ChannelresponseTimeout: 3000 TDSTCPServerTransport BufferKBSize: 32 KeepAliveEnablement: kaDisabled MaxThreads: 30 PoolSize: 10 Port: 211 Client Side Main

Delphi & Datasnap - Connection Timeout, Communicataion Timeout or a way to avoid Client App to hang when no server response

泪湿孤枕 提交于 2020-03-02 05:44:27
问题 I am trying to use a Client-Server Datasnap based architecture. The client is inside an Android App that connects by Wifi with the Server Program which runs in a PC. This are the server and client features: Server Side: Server Methods TSQLConnection Driver: Firebird. KeepConnection: true. Server Container TDSServer Queuesize: 100 ChannelresponseTimeout: 3000 TDSTCPServerTransport BufferKBSize: 32 KeepAliveEnablement: kaDisabled MaxThreads: 30 PoolSize: 10 Port: 211 Client Side Main

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

Firebird - database file shutdown error message

蹲街弑〆低调 提交于 2020-01-28 02:17:46
问题 I have a problem with my Firebird database. The primary key of one of the tables is referenced by another table that was actually dropped earlier. So this reference from a non-existent table was causing errors when I try to make any changes in the table data. So I did a backup and restore and the bad reference was gone but now when I try to connect to my database more than once at the same time I get the following error: database [file path] shutdown How can I solve this? 回答1: Your database

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

Registering a Firebird Blob Filter using FireDac (Delphi)

十年热恋 提交于 2020-01-25 11:19:10
问题 Having used Firebird SQL and Delphi for years I have always registered my own Blob Filters using FBPlus from Devrace. As Delphi now ships with FireDac I am hoping to shift over to this technology, removing the requirement of third party data access components. Has anyone any experience with registering Firebird SQL Blob filters in FireDac? Though I can simply access the fields as binary data and run through the routines for decompression etc, I would rather have access on a field level

Best SQL statement for this table?

ぃ、小莉子 提交于 2020-01-22 00:00:53
问题 I have table with 9 fields ID, F1..F8. An example of some data: id f1 f2 f3 f4 f5 f6 f7 f8 1 1 2 3 0 0 0 0 0 2 0 1 0 3 2 0 0 0 3 4 0 5 2 1 0 0 0 4 0 0 0 0 0 0 1 4 5 2 0 0 0 0 1 3 0 6 2 0 0 0 0 1 0 8 7 2 0 0 0 0 1 0 3 . . . How can I select * from table where F1...F8 in value (1,2,3) ? The result of this query must have records with id 1,2,5,7. 回答1: Use query with common table expression: WITH t AS ( SELECT id, f1 AS f from tbl UNION ALL SELECT id, f2 AS f from tbl UNION ALL SELECT id, f3 AS f

Best SQL statement for this table?

怎甘沉沦 提交于 2020-01-22 00:00:51
问题 I have table with 9 fields ID, F1..F8. An example of some data: id f1 f2 f3 f4 f5 f6 f7 f8 1 1 2 3 0 0 0 0 0 2 0 1 0 3 2 0 0 0 3 4 0 5 2 1 0 0 0 4 0 0 0 0 0 0 1 4 5 2 0 0 0 0 1 3 0 6 2 0 0 0 0 1 0 8 7 2 0 0 0 0 1 0 3 . . . How can I select * from table where F1...F8 in value (1,2,3) ? The result of this query must have records with id 1,2,5,7. 回答1: Use query with common table expression: WITH t AS ( SELECT id, f1 AS f from tbl UNION ALL SELECT id, f2 AS f from tbl UNION ALL SELECT id, f3 AS f