diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml
index 516a2c8869..b63fca03d9 100644
--- a/spring-boot-project/spring-boot-dependencies/pom.xml
+++ b/spring-boot-project/spring-boot-dependencies/pom.xml
@@ -54,6 +54,7 @@
2.7.9
2.1.0
1.0.8.RELEASE
+ 11.5.0.0
10.14.2.0
4.1.0
2.10.6
@@ -716,6 +717,11 @@
hazelcast-spring
${hazelcast.version}
+
+ com.ibm.db2
+ jcc
+ ${db2-jdbc.version}
+
com.jayway.jsonpath
json-path
diff --git a/spring-boot-project/spring-boot/pom.xml b/spring-boot-project/spring-boot/pom.xml
index 61876b5682..33e2bc8632 100644
--- a/spring-boot-project/spring-boot/pom.xml
+++ b/spring-boot-project/spring-boot/pom.xml
@@ -361,6 +361,11 @@
h2
test
+
+ com.ibm.db2
+ jcc
+ test
+
com.jayway.jsonpath
json-path
diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/jdbc/DatabaseDriverClassNameTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/jdbc/DatabaseDriverClassNameTests.java
index e49befd13f..d1ae0f129e 100644
--- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/jdbc/DatabaseDriverClassNameTests.java
+++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/jdbc/DatabaseDriverClassNameTests.java
@@ -44,8 +44,8 @@ import static org.assertj.core.api.Assertions.assertThat;
*/
class DatabaseDriverClassNameTests {
- private static final Set EXCLUDED_DRIVERS = Collections.unmodifiableSet(
- EnumSet.of(DatabaseDriver.UNKNOWN, DatabaseDriver.ORACLE, DatabaseDriver.DB2, DatabaseDriver.DB2_AS400,
+ private static final Set EXCLUDED_DRIVERS = Collections
+ .unmodifiableSet(EnumSet.of(DatabaseDriver.UNKNOWN, DatabaseDriver.ORACLE, DatabaseDriver.DB2_AS400,
DatabaseDriver.INFORMIX, DatabaseDriver.HANA, DatabaseDriver.TERADATA, DatabaseDriver.REDSHIFT));
@ParameterizedTest(name = "{0} {2}")