Update version of IBM DB2 docker image and jdbc driver

This commit is contained in:
Mahmoud Ben Hassine
2025-03-18 10:38:05 +01:00
parent 60f83438e9
commit 42056e714d
3 changed files with 6 additions and 5 deletions

View File

@@ -123,7 +123,7 @@
<mysql-connector-j.version>9.1.0</mysql-connector-j.version>
<mariadb-java-client.version>3.5.1</mariadb-java-client.version>
<postgresql.version>42.7.4</postgresql.version>
<db2.version>11.5.9.0</db2.version>
<db2.version>12.1.0.0</db2.version>
<oracle.version>19.24.0.0</oracle.version>
<sqlserver.version>11.2.3.jre17</sqlserver.version>
<jtds.version>1.3.1</jtds.version>

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2020-2023 the original author or authors.
* Copyright 2020-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -57,7 +57,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
class Db2JobRepositoryIntegrationTests {
// TODO find the best way to externalize and manage image versions
private static final DockerImageName DB2_IMAGE = DockerImageName.parse("ibmcom/db2:11.5.5.1");
private static final DockerImageName DB2_IMAGE = DockerImageName.parse("icr.io/db2_community/db2:11.5.9.0");
@Container
public static Db2Container db2 = new Db2Container(DB2_IMAGE).acceptLicense();

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2024 the original author or authors.
* Copyright 2024-2025 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -32,6 +32,7 @@ import static org.springframework.test.context.jdbc.Sql.ExecutionPhase.BEFORE_TE
/**
* @author Henning Pöttker
* @author Mahmoud Ben Hassine
*/
@Testcontainers(disabledWithoutDocker = true)
@SpringJUnitConfig
@@ -39,7 +40,7 @@ import static org.springframework.test.context.jdbc.Sql.ExecutionPhase.BEFORE_TE
class Db2PagingQueryProviderIntegrationTests extends AbstractPagingQueryProviderIntegrationTests {
// TODO find the best way to externalize and manage image versions
private static final DockerImageName DB2_IMAGE = DockerImageName.parse("ibmcom/db2:11.5.5.1");
private static final DockerImageName DB2_IMAGE = DockerImageName.parse("icr.io/db2_community/db2:11.5.9.0");
@Container
public static Db2Container db2 = new Db2Container(DB2_IMAGE).acceptLicense();