--- title: "JDBC driver compatibility assessment" slug: "jdbc-drivers" tags: ["JDBC Driver Update", "Java Upgrade", "Database Compatibility"] status: "update" updated: 2026-11-23T12:08:55Z published: 2026-11-23T12:08:55Z canonical: "docs.lobstersoftware.com/jdbc-drivers" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # JDBC driver compatibility assessment If you update the Java runtime to a new major version (for example, from OpenJDK 11 to OpenJDK 21), you must ensure that your JDBC database drivers are compatible with the new Java version. As long as you keep your current Java version, it is generally not necessary to update the JDBC drivers. This guide describes how to check compatibility and update drivers if necessary. For database connections of the **Via Bridge** type, you must also update the drivers on the bridge: [Check and update JDBC drivers for the bridge.](/v1/docs/en/jdbc-drivers-bridge). > [!WARNING] > **IMPORTANT:** > > **Known issue with Microsoft SQL Server** > > Customers running MS SQL Server have repeatedly experienced connection errors when the JDBC driver is not updated **before** upgrading the JDK. If you are upgrading to OpenJDK 21, use `mssql-jdbc-12.6` or later. Older versions are no longer compatible with OpenJDK 21. > [!NOTE] > **Not planning a Java upgrade?** > > If you keep your current Java version, your existing JDBC drivers will generally remain compatible. In that case, the steps in this guide are not necessary. ## Requirements - You have an inventory of your configured **database connections** and the JDBC driver versions in use for each. - You have access to the driver directory of the **Lobster Data Platform**. - You can restart the platform. - You know which Java version you are upgrading to (e.g., OpenJDK 21). ## Step 1 – Identify JDBC drivers in use 1. Open the database connection configuration in the **Lobster Data Platform**. 2. For each connection, note the **JDBC driver** (name and version, e.g., `ojdbc11.jar`, `mssql-jdbc-12.6.x.jre11.jar`) and the **database version** (e.g., Oracle 19c, PostgreSQL 16, SQL Server 2022). ## Step 2 – Check compatibility with the target Java version Consult the compatibility matrix published by each driver vendor and use the latest stable driver that supports your target Java version. The table below provides reference values for common databases when upgrading to OpenJDK 21. If you are upgrading to a different Java version, refer to the respective vendor documentation accordingly. | Database | Minimum version for OpenJDK 21 | Vendor documentation | | --- | --- | --- | | Microsoft SQL Server | `mssql-jdbc-12.6.jre11.jar` or later. The `jre11` artifact supports Java 11, 17, **and** 21. There is no extra `jre21` file. | [Microsoft JDBC Driver for SQL Server support matrix](https://learn.microsoft.com/en-us/sql/connect/jdbc/microsoft-jdbc-driver-for-sql-server-support-matrix?view=sql-server-ver17#java-and-jdbc-specification-support) | | Oracle database | `ojdbc11.jar` 23.x or later. | [Oracle Database JDBC driver and Companion Jars Downloads](https://www.oracle.com/database/technologies/appdev/jdbc-downloads.html) | | PostgreSQL | `postgresql-42.7.x.jar` or later. The current 42.7.x series is the correct product family for use with Java 21. | [PostgreSQL JDBC Changelog](https://jdbc.postgresql.org/changelogs/) | | MySQL / MariaDB | `mysql-connector-j-8.3.x.jar` or later. | [MySQL Connector/J versions](https://dev.mysql.com/doc/connector-j/en/connector-j-versions.html) | | MariaDB (native driver) | Current MariaDB Connector/J | [MariaDB Connector/J Release Notes](https://mariadb.com/kb/en/mariadb-connector-j-release-notes/) | | Salesforce (JDBC) | Salesforce JDBC driver 25.x or later requires **Lobster Data Platform** 26.2 or later. Earlier platform versions are not supported. | [Salesforce Driver Online Help](https://cdn.cdata.com/help/RFH/jdbc/) | | Informix | **NOTE:** Not supported as a hub database as of 26.2 (and patches 26.1.5 and 25.1.11). All Informix JARs have been removed from `IS/lib`. For other roles, provide the driver yourself and place it under `IS/extlib`. Test connectivity in a staging environment. | [IBM Informix JDBC 4.50.JC7 Release Notes](https://www.ibm.com/docs/en/informix-servers/14.10.0?topic=450jc7-release-notes-informix-jdbc-driver450jc7) | > [!NOTE] > **NOTE:** > > The driver versions listed above are reference values for an upgrade to OpenJDK 21. Always consult the official vendor documentation for your specific database and Java version combination. ## Step 3 – Update drivers > [!WARNING] > **IMPORTANT:** > > Update JDBC drivers **before** upgrading Java. If you switch the Java version first without updating the drivers, database connections can fail and the platform may not be operational. 1. Download the compatible JDBC driver version from the vendor's site. 2. Replace the existing `.jar` file in the **Lobster Data Platform** driver directory. 3. Restart the platform. ## Step 4 – Test connections 1. Open the relevant database connection in the **Lobster Data Platform**. 2. Run a **connection test**. 3. Check the log files for any errors or warnings related to the JDBC driver. > [!NOTE] > **Best practice** > > Always perform driver updates and Java upgrades in a **test or staging environment** first before rolling out the changes to production. *Continue with:* [JDOM1 to JDOM2 migration](/v1/docs/en/jdom1-to-jdom2-migration)