From 0bbe5506a756206fea6d261851d121c19bb998c5 Mon Sep 17 00:00:00 2001 From: Andrea Spacca Date: Sat, 7 Oct 2023 14:27:20 +0900 Subject: [PATCH] add hsqldb driver in liquibase helper --- src/main/java/me/kavin/piped/utils/LiquibaseHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/me/kavin/piped/utils/LiquibaseHelper.java b/src/main/java/me/kavin/piped/utils/LiquibaseHelper.java index a97d09c..9268005 100644 --- a/src/main/java/me/kavin/piped/utils/LiquibaseHelper.java +++ b/src/main/java/me/kavin/piped/utils/LiquibaseHelper.java @@ -28,6 +28,8 @@ public class LiquibaseHelper { // register YugabyteDB database DatabaseFactory.getInstance().register(new liquibase.ext.yugabytedb.database.YugabyteDBDatabase()); + // register HsqlDatabase database + DatabaseFactory.getInstance().register(new liquibase.database.core.HsqlDatabase()); Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(DriverManager.getConnection(url, username, password)));