Unable to find a JDBC driver corresponding to the database kind 'oracle'

I’m currently upgrading from Keycloak 21 to 24. I have several datasources in quarkus.properties for user federation providers used in different realms. These datasources can be different vendors (kinds).

For Keycloak itself, I currently have a PostgreSQL DB configured in keycloak.conf. In quarkus.properties, there is an additional datasource of kind postgresql and another one of kind oracle.

This worked fine with Keycloak 21, but with 24 I get the error “Unable to find a JDBC driver corresponding to the database kind ‘oracle’”
In “Installed features”, jdbc-postgresql is listed and obviously the feature jdbc-oracle is missing.

How can we add features for additional database vendors?

1 Like

I noticed this too moving from 22 to 24.

Drop the driver into /providers. For instance, my SPI uses oracle.jdbc.driver.OracleDriver and when I put ojdbc11.jar in the folder, I’m able to run queries from the login form and user search form.

1 Like

That sounds like a decent solution, thank you!