Ce document en français.
The use of this software subjects you to our Terms Of Use.
version 1.0.5
JaybirdOOo is part of a Suite of LibreOffice and/or OpenOffice extensions allowing to offer you innovative services in these office suites.
This extension allows you to use Firebird in embedded mode, making the database portable (a single odb file).
It allows you to take advantage of the ACID properties of the underlying Firebird database.
This implementation uses Jaybird 6.0.0 which is an unfinalized version. Please use with caution.
Being free software I encourage you:
- To duplicate its source code.
- To make changes, corrections, improvements.
- To open issue if needed.
In short, to participate in the development of this extension.
Because it is together that we can make Free Software smarter.
The JaybirdOOo extension uses the jdbcDriverOOo extension to work.
It must therefore meet the requirement of the jdbcDriverOOo extension.
Only LibreOffice 24.2.x or higher is supported.
Using Jaybird 6.0.0 requires a JRE Java version 17 or higher.
It seems important that the file was not renamed when it was downloaded.
If necessary, rename it before installing it.
-
Install jdbcDriverOOo.oxt extension
This extension is necessary to use Firebird with all its features.
-
Install JaybirdOOo.oxt extension
Restart LibreOffice after installation.
Be careful, restarting LibreOffice may not be enough.
- On Windows to ensure that LibreOffice restarts correctly, use Windows Task Manager to verify that no LibreOffice services are visible after LibreOffice shuts down (and kill it if so).
- Under Linux or macOS you can also ensure that LibreOffice restarts correctly, by launching it from a terminal with the command
soffice
and using the key combinationCtrl + C
if after stopping LibreOffice, the terminal is not active (no command prompt).
In LibreOffice / OpenOffice go to File -> New -> Database...:
In step: Select database:
- select: Create a new database
- in: Emdedded database: choose: Embedded Firebird Driver
- click on button: Next
In step: Save and proceed:
- adjust the parameters according to your needs...
- click on button: Finish
Have fun...
JaybirdOOo is an com.sun.star.sdbc.Driver UNO service written in Python.
It is an overlay to the jdbcDriverOOo extension allowing to store the Firebird database in an odb file (which is, in fact, a compressed file).
Its operation is quite basic, namely:
- When requesting a connection, several things are done:
- If it does not already exist, a subdirectory with name:
.
+odb_file_name
+.lck
is created in the location of the odb file where all Firebird files are extracted from the database directory of the odb file (unzip). - The jdbcDriverOOo extension is used to get the com.sun.star.sdbc.XConnection interface from the subdirectory path +
/jaybird
. - If the connection is successful, a DocumentHandler is added as an com.sun.star.util.XCloseListener and com.sun.star.document.XStorageChangeListener to the odb file.
- If the connection is unsuccessful and the files was extracted in phase 1, the subdirectory will be deleted.
- If it does not already exist, a subdirectory with name:
- When closing or renaming (Save As) the odb file, if the connection was successful, the DocumentHandler copies all files present in the subdirectory into the (new) database directory of the odb file (zip), then delete the subdirectory.
The main purpose of this mode of operation is to take advantage of the ACID characteristics of the underlying database in the event of an abnormal closure of LibreOffice. On the other hand, the function: file -> Save has no effect on the underlying database. Only closing the odb file or saving it under a different name (File -> Save As) will save the database in the odb file.
-
LibreOffice 24.2.1.2 (x86_64)- Windows 10
-
LibreOffice 24.2.1.2 - Lubuntu 22.04
-
LibreOffice 24.8.0.3 (x86_64) - Windows 10(x64) - Python version 3.9.19 (under Lubuntu 22.04 / VirtualBox 6.1.38)
I encourage you in case of problem 😕
to create an issue
I will try to solve it 😄
- First of all I would like to thank rotteveel for improvement #629 which made it possible to publish this extension.
- This extension is based on fix #154989 available since LibreOffice 24.2.x. It can therefore work with other extensions offering integrated database services.
- JaybirdOOo requires LibreOffice 24.2.x and Java 17 minimum. It will load for the url:
sdbc:embedded:jaybird
.
- Support for the new version 1.4.0 of jdbcDriverOOo.
- The use of odb files created with a previous version of JaybirdOOo requires modifying the parameter:
Query for generated values
accessible through the menu: Edit -> Database -> Advanced Settings... -> Generated Values by the value:SELECT * FROM %s WHERE %s
.
- Updated the Python packaging package to version 24.1.
- Updated the Python setuptools package to version 72.1.0.
- The extension will ask you to install the jdbcDriverOOo extension in versions 1.4.2 minimum.
- Updated the Python setuptools package to version 73.0.1.
- Logging accessible in extension options now displays correctly on Windows.
- The extension options are now accessible via: Tools -> Options... -> LibreOffice Base -> Embedded Jaybird Driver
- Changes to extension options that require a restart of LibreOffice will result in a message being displayed.
- Support for LibreOffice version 24.8.x.
- Requires the latest version of jdbcDriverOOo 1.4.4.
- In the extension options it is possible to define the options: View system tables, Use bookmarks and Force SQL mode which will be specific to this driver.
- In order not to conflict with LibreOffice's embedded Firebird driver, the driver has been renamed to Embedded Jaybird Driver.
- The extension will ask you to install jdbcDriverOOo extension in versions 1.4.6 minimum.
- Modification of the extension options accessible via: Tools -> Options... -> LibreOffice Base -> Embedded Jaybird Driver in order to comply with the new graphic charter.
-
Add new language for internationalization...
-
Anything welcome...