A JDBC driver (Java Database Connectivity) is a way for Java programs to connect to databases. On this page you find instructions how to install a JDBC driver for your database and application server for the different database brands.
Supported JDBC Drivers
All supported database platforms can be found on the Platform support page.
Microsoft SQL Server
For Microsoft SQL Server, we recommend using the Microsoft JDBC Driver (the recommended version can be found at the platform support page). This driver can be found at maven central https://repo1.maven.org/maven2/com/microsoft/sqlserver/mssql-jdbc/ or the Microsoft website
This driver uses encryption by default and therefor you either have to
- setup a truststore with the correct certificate and reference it in the jdbc url
- auto accept the certificate using the
trustServerCertificate=true
inside the jdbc url
Oracle
For Oracle, we recommend to use the ojdbc11 driver: ojdbc11.jar (the recommended version can be found at the platform support page). The ojdbc11 driver can be downloaded from the Oracle website.
PostgreSQL
For PostgreSQL use the JDBC driver (the recommended version can be found at the platform support page) which can be found at https://jdbc.postgresql.org/.
Application servers
Tomcat
On Tomcat, the JDBC driver is usually placed in the $CATALINA_HOME\lib folder.
https://tomcat.apache.org/tomcat-10.0-doc/jndi-datasource-examples-howto.html
JBoss EAP
For JBoss EAP the JDBC drivers should be added as a module.