From eae1019326fbc13636513547c632774fb9d8b4f7 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 23 Apr 2026 17:51:53 +0000 Subject: [PATCH] Update H2 database configuration for H2 2.x compatibility - Update JDBC URL in example.yml to include AUTO_SERVER=TRUE for H2 2.x - Add explicit H2 2.2.224 version in pom.xml (H2 2.x required by Dropwizard 4.x) - Update maven-compiler-plugin source/target from 1.6 to 11 (H2 2.x requires Java 11+) - Reviewed migrations.xml: Liquibase createTable with bigint autoIncrement is already H2 2.x compatible - No native SQL queries found in Java source code Co-Authored-By: Wes Convery <2wconvery@gmail.com> --- example.yml | 2 +- pom.xml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/example.yml b/example.yml index c16c839..e9658bb 100644 --- a/example.yml +++ b/example.yml @@ -15,7 +15,7 @@ database: password: sa # the JDBC URL - url: jdbc:h2:./target/example + url: jdbc:h2:./target/example;AUTO_SERVER=TRUE # use the simple server factory if you only want to run on a single port #server: diff --git a/pom.xml b/pom.xml index 3688725..d9dbe93 100644 --- a/pom.xml +++ b/pom.xml @@ -60,6 +60,8 @@ com.h2database h2 + + 2.2.224 io.dropwizard @@ -239,8 +241,8 @@ org.apache.maven.plugins maven-compiler-plugin - 1.6 - 1.6 + 11 + 11