What is “the” Firebird package to use today? FDB? pyFirebirdSQL? kInterbasDB?

Short answer is FDB
The difference between FDB and kInterbasDB is explained here

It’s old and unmaintained , all effort is on FDB driver and it is backward compatible with kInterbasDB
Now between FDB and FirebirdSQL , from what i know pyFirebirdSQL is pure python so it can work without any other so/dll installed and it can be used for example in places where there is no Firebird client installed (think of android python script)

Wiped out the legacy compatibility option OldSetClauseSemantics in Firebird 3.0

The option in the config is removed

 

Prior to Firebird 2.5 the SET clause of the UPDATE statement assigned columns in the user-defined order with the NEW column values being immediately accessible to the subsequent assignments. This did not conform to the SQL standard. Starting with Firebird 2.5, only OLD column values are accessible to all the assignments of the SET clause.

Example of the old vs new behaviour:

UPDATE T SET A = B, B = A

old result: A gets equal to B, B doesn’t change

new result: A and B get their values exchanged

Change this configuration option to 1 (true) only if your SQL code relies on the legacy semantics of the SET clause. It’s provided as a temporary solution for backward compatibility issues and is removed in Firebird 3.0
Type: boolean

OldSetClauseSemantics = 0

Firebird for Android?

Posted in FB-DEVEL:

FIrebird for Android
——————–

Key: CORE-3885
URL: http://tracker.firebirdsql.org/browse/CORE-3885
Project: Firebird Core
Issue Type: Task
Components: Build Issues / Porting
Affects Versions: 2.1.5
Environment: Android 4
Reporter: JLM
Priority: Minor

Hello,

I’m trying to build Firebird 2.1 for Android ARM.
For the moment, I am compiling, step by step, by correcting builds issues.
To compile, I use the custom NDK R7 by Crystax in order to use the standard libc instead of the Bionic libc.

I will write my advance gradually.

Regards,
Loweno

Do you have interest? Vote for it in the tracker and show your support  😉

Firebird 2.0.x series discontinued End Of Life

Accordingly to its release lifetime policy, Firebird Project notifies that the Firebird v2.0 series has reached its end of life and thus will not be maintained anymore. The last official release in this series, Firebird 2.0.7, which has been announced this year, will be available from the “discontinued” section of the download area.

The Firebird roadmap is updated , we are waiting for Firebird 3.0.x Alpha 🙂

CakePHP 1.3 and Firebird

After searching the internet for a decent walk through or tutorial, I came up with very little and so I decided to collate what have learned in this post with the hope that someone else can benefit from it.

Firstly you will need to obtain the datasources plugin from github and stick it in your application’s plugin folder (app/plugins) – make sure you get the master branch and not the 2.0 as it needs to be compatible with your version of CakePHP (1.3 ideally)

The next thing you need to do is edit the databases config file (app/config/database.php):

var $defaultarray(
        'driver' => 'Datasources.DboFirebird'//references the datasources plugin
        'persistent' => false,
        'host' => 'localhost'//the host name of your database
        'login' => 'sysdba',
        'password' => 'masterkey',
        'database' => 'C:\\path\\to\\database.gdb'//path to the database - note the double backslashes
        'prefix' => '',
        //'encoding' => 'utf8',
    );

The two important things you should note of is the driver key-value pair which references the datasource plugin namespace, and secondly the double backslashes for the database file path.

All the models you create for your application should now access the corresponding tables through the FireBird SQL connection.

1 119 120 121 122 123 207