jdbcDriverOOo logo jdbcDriverOOo

Ce document en français.

The use of this software subjects you to our Terms Of Use

version 0.0.4


jdbcDriverOOo 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 the JDBC driver of your choice directly in Base.
It embeds the drivers for the following databases:

Being free software I encourage you:

In short, to participate in the development of this extension.
Because it is together that we can make Free Software smarter.


jdbcDriverOOo is a JDBC driver written in Java.
Its use requires the installation and configuration in LibreOffice / OpenOffice of a JRE version 11 or later.
I recommend Adoptium as your Java installation source.

If you are using the HsqlDB driver with LibreOffice on Linux, then you are subject to bug 139538.
To work around the problem, please uninstall the packages:

If you still want to use the Embedded HsqlDB functionality provided by LibreOffice, then install the HsqlDBembeddedOOo extension.
OpenOffice and LibreOffice on Windows are not subject to this malfunction.


It seems important that the file was not renamed when it was downloaded. If necessary, rename it before installing it.

Restart LibreOffice / OpenOffice after installation.


This mode of use uses an HsqlDB database.

How to create a new database:

In LibreOffice / OpenOffice go to menu: File -> New -> Database

jdbcDriverOOo screenshot 1

In step: Select database

jdbcDriverOOo screenshot 2

In step: Connection settings

jdbcDriverOOo screenshot 3

In step: Set up user authentication

jdbcDriverOOo screenshot 4

If the connection was successful, you should see this dialog window:

jdbcDriverOOo screenshot 5

Have fun…

How to update the JDBC driver:

It is possible to update the JDBC driver (hsqldb.jar, h2.jar, derbytools.jar) to a newer version.
If you use HsqlDB as database, follow these steps:

  1. Make a copy (backup) of the folder containing your database.
  2. Start LibreOffice / OpenOffice and change the version of the HsqlDB driver via menu: Tools -> Options -> Base drivers -> JDBC Driver, by a more recent version.
  3. Restart LibreOffice / OpenOffice after changing the driver (hsqldb.jar).
  4. In Base, after opening your database, go to menu: Tools -> SQL and type the SQL command: SHUTDOWN COMPACT or SHUTDOWN SCRIPT.

Now your database is up to date.

LibreOffice/OpenOffice Base improvement:

This driver allows in LibreOffice / OpenOffice Base the management of users, roles (groups) and their associated privileges of the underlying database.

Managing Users and Privileges in Base:

User management of the underlying database is accessible in Base via the menu: Administration -> User administration

jdbcDriverOOo screenshot 6

The privileges management of the users of the underlying database is accessible in this window by the button: Change privileges
If the privilege is inherited from an assigned role, the checkbox is a three-state type.

jdbcDriverOOo screenshot 7

Managing roles (groups) in Base:

The management of the roles (groups) of the underlying database is accessible in Base via the menu: Administration -> Group administration

jdbcDriverOOo screenshot 8

The management of users who are members of the group of the underlying database is accessible in this window via the button: Group users

jdbcDriverOOo screenshot 9

The management of roles assigned to the group of the underlying database is accessible in this window via the button: Group roles
This functionality is an extension of the UNO API and will only be available if the underlying LibreOffice / OpenOffice driver allows it.

jdbcDriverOOo screenshot 10

Has been tested with:

I encourage you in case of problem :-(
to create an issue
I will try to solve it ;-)



This driver was written to work around certain problems inherent in the UNO implementation of the JDBC driver built into LibreOffice / OpenOffice, namely:

In order to take advantage of the latest features offered by databases and among others HsqlDB, it was necessary to write a new driver.

Until version 0.0.3, this new driver is just a wrapper in Python around the UNO services provided by the defective LibreOffice / OpenOffice JDBC driver.
Since version 0.0.4, it has been completely rewritten in Java under Eclipse, because who better than Java can provide access to JDBC in the UNO API…
In order not to prevent the native JDBC driver from working, it loads when calling the following protocols:

but uses the jdbc:* protocol internally to connect.

It also provides functionality that the JDBC driver implemented in LibreOffice / OpenOffice does not provide, namely:

What has been done for version 0.0.1:

What has been done for version 0.0.2:

What has been done for version 0.0.3:

What has been done for version 0.0.4:

What remains to be done for version 0.0.4: