From 7daa9630687cb39b1b9fc084c7a4714568ec70bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Wed, 27 May 2026 09:16:57 +0200 Subject: [PATCH] Fix jooQ test - adapt to commons-dbcp2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit changes from upstream: https://github.com/apache/camel/commit/74ddde4df61eff65b3f28d18bc7e8eb9826e156f#diff-1f13da1b3a3f9866797ee7599afcfc253b533788a5f5046992439d520155e8fa * note that previously the commons-dbcp was a runtime dependencies, when upgrading to dbcp2, it has been moved to test dependency, which means that when using it, now requires to explicitly declare it Signed-off-by: Aurélien Pupier --- jooq/pom.xml | 5 +++++ jooq/src/main/resources/META-INF/spring/jooq-spring.xml | 4 ++-- jooq/src/main/resources/config.properties | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/jooq/pom.xml b/jooq/pom.xml index e93ab56ed..2675a3184 100644 --- a/jooq/pom.xml +++ b/jooq/pom.xml @@ -94,6 +94,11 @@ hsqldb ${hsqldb-version} + + org.apache.commons + commons-dbcp2 + ${commons-dbcp2-version} + diff --git a/jooq/src/main/resources/META-INF/spring/jooq-spring.xml b/jooq/src/main/resources/META-INF/spring/jooq-spring.xml index 5e2212209..9e33755a7 100644 --- a/jooq/src/main/resources/META-INF/spring/jooq-spring.xml +++ b/jooq/src/main/resources/META-INF/spring/jooq-spring.xml @@ -26,10 +26,10 @@ - + - + diff --git a/jooq/src/main/resources/config.properties b/jooq/src/main/resources/config.properties index c470cc569..d6130ac11 100644 --- a/jooq/src/main/resources/config.properties +++ b/jooq/src/main/resources/config.properties @@ -17,7 +17,7 @@ #Database Configuration db.driver=org.hsqldb.jdbcDriver db.url=jdbc:hsqldb:file:${basedir}/target/db;shutdown=true -db.pool.maxActive=50 +db.pool.maxTotal=50 db.pool.maxIdle=20 db.username=sa db.password=