Does keycloak support embedded databases like Apache Derby or hsqldb?
xgp
May 20, 2021, 3:53pm
2
hsqldb is the default. If you run it without a database configuration, it automatically uses hsqldb.
I think the default database is H2, not hsqldb.
xgp
May 20, 2021, 5:14pm
4
My mistake. I always confuse the two because of the overlapping history.
hsqldb doesn’t look to be supported by default, but there is a step-by-step guide for setting up a JDBC data source here:
https://www.keycloak.org/docs/latest/server_installation/#_database
I followed the instructions to integrate keycloak with Apache Derby, I ran into db upgrade issues.
I found this comment in line 107. So I wanted to check with community if there are some know limitations that prevents integration with Apache Derby
/*
* Copyright 2016 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.keycloak.connections.jpa.updater.liquibase.lock;
import liquibase.Scope;
This file has been truncated. show original