Check and update JDBC drivers for the bridge

Prev Next

These instructions describe how to check and update JDBC driver compatibility for your Via Bridge database connections.

For database connections of the Via Bridge type, the Lobster Bridge establishes the connection to the database, and Lobster Data Platform accesses the database through the bridge. The database's JDBC driver must therefore be installed on the bridge and be compatible with the bridge's Java version.

IMPORTANT:

Update from a version prior to 26.4: Starting with version 26.4, Lobster Data Platform and bridge run on OpenJDK 21. Update the JDBC drivers on the bridge before upgrading the bridge and platform to version 26.4 or later. See: Upgrade preparation and Bridge update.

Prerequisites

  • The Lobster Data Platform and the Bridge are running the same version (26.4 or later), or you plan to update both to that version. See Bridge update and Upgrade preparation.

  • You have an overview of your database connections of the type Via Bridge and the respective bridge used for each one.

  • You have access to the bridge installation directory.

  • You can restart the bridge.

NOTE:

Bridge and Lobster Data Platform always run on the same version. Always update the bridge and the platform together to the same version. Mixed versions are not supported. The bridge runs on OpenJDK 21. Therefore, the same minimum versions apply to the drivers on the bridge as to the drivers on the platform.

Procedure

Best Practice

As a general rule, always perform driver updates and Java upgrades in a test or staging environment before deploying the changes to production.

Step 1 – Identify the JDBC drivers in use

  1. In Lobster Data Platform open the database connections of the type Via Bridge one by one.

  2. For each connection, note the database and its version.

  3. Check which JDBC drivers are installed as JAR files in the extlib directory of the bridge.

Step 2 – Check compatibility

Compare the databases and drivers from Step 1 with the following table. It lists the databases and drivers that Lobster has tested using the Remote bridge configuration option, along with the minimum driver version required for OpenJDK 21. If a driver is below the minimum version, update it in Step 3.

This information is not a substitute for the driver manufacturer's documentation. You should also verify that your driver is compatible with your database and Java versions.

Database

Tested database version

Tested driver

Minimum version for OpenJDK 21

Manufacturer's documentation

MySQL

MySQL 8.4

mysql-connector-j-9.4.0.jar

mysql-connector-j-8.3.x.jar or later

MySQL connector/J versions

MariaDB

MariaDB 12.1

mariadb-java-client-3.5.10.jar

Latest MariaDB connector/J (3.5.x)

MariaDB connector/J release notes

PostgreSQL

PostgreSQL 16 (UTF-8 and LATIN-1 database encodings)

postgresql-42.7.8.jar

postgresql-42.7.x.jar or later

PostgreSQL JDBC changelog

Microsoft SQL Server

SQL Server 2022

mssql-jdbc-12.10.1.jre11.jar

mssql-jdbc-12.6.x.jre11.jar or later. The jre11 artifact supports Java 11, 17, and 21.

Microsoft JDBC Driver for SQL Server support matrix

Oracle database

Oracle Database 23 (Free, character set AL32UTF8)

ojdbc11-23.9.0.25.07.jar

ojdbc11.jar 23.x or later

Oracle JDBC downloads

IMPORTANT: Not tested via the bridge:

Salesforce, Informix, and other databases. Test these combinations in a test or staging environment before deploying them in production.

Step 3 – Update drivers

IMPORTANT: Follow this order:

If you are updating from a version prior to 26.4, update the JDBC drivers on the bridge before updating the bridge and platform to version 26.4 or later.

  1. Download the compatible JDBC driver version from the manufacturer's website.

  2. Place the .jarfile in the extlibdirectory of the bridge and remove the old version.

  3. Restart the bridge.

Step 4 – Test the connections

  1. In Lobster Data Platform , open every database connection of the type Via Bridge.

  2. Perform a connection test.

  3. Check the bridge log files for errors or warnings related to the JDBC driver.