Skip to content

Commit be63ffe

Browse files
committed
Upgrade to MySQL 8.0.32
1 parent 88dd144 commit be63ffe

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

hibernate-reactive-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dependencies {
4747
testRuntimeOnly "org.mariadb.jdbc:mariadb-java-client:3.0.7";
4848

4949
// JDBC driver for Testcontainers with MYSQL Server
50-
testRuntimeOnly "com.mysql:mysql-connector-j:8.0.31";
50+
testRuntimeOnly "com.mysql:mysql-connector-j:8.0.32";
5151

5252
// EHCache
5353
testRuntimeOnly ("org.ehcache:ehcache:3.10.0-alpha0") {

hibernate-reactive-core/src/test/java/org/hibernate/reactive/containers/MySQLDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class MySQLDatabase implements TestableDatabase {
7979
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
8080
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
8181
*/
82-
public static final MySQLContainer<?> mysql = new MySQLContainer<>( imageName( "mysql", "8.0.31") )
82+
public static final MySQLContainer<?> mysql = new MySQLContainer<>( imageName( "mysql", "8.0.32") )
8383
.withUsername( DatabaseConfiguration.USERNAME )
8484
.withPassword( DatabaseConfiguration.PASSWORD )
8585
.withDatabaseName( DatabaseConfiguration.DB_NAME )

podman.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ and schema to run the tests:
9393
```
9494
podman run --rm --name HibernateTestingMySQL \
9595
-e MYSQL_ROOT_PASSWORD=hreact -e MYSQL_DATABASE=hreact -e MYSQL_USER=hreact -e MYSQL_PASSWORD=hreact \
96-
-p 3306:3306 mysql:8.0.31
96+
-p 3306:3306 mysql:8.0.32
9797
```
9898

9999
When the database has started, you can run the tests on MySQL with:

tooling/jbang/MySQLReactiveTest.java.qute

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
//// Testcontainer needs the JDBC drivers to start the container
1717
//// Hibernate Reactive doesn't need it
18-
//DEPS com.mysql:mysql-connector-j:8.0.31
18+
//DEPS com.mysql:mysql-connector-j:8.0.32
1919

2020
import jakarta.persistence.Entity;
2121
import jakarta.persistence.Id;
@@ -72,7 +72,7 @@ public class {baseName} {
7272
}
7373

7474
@ClassRule
75-
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "docker.io", "mysql", "8.0.31" ) );
75+
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "docker.io", "mysql", "8.0.32" ) );
7676

7777
private Mutiny.SessionFactory sessionFactory;
7878

tooling/jbang/ReactiveTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
//// Testcontainer needs the JDBC drivers to start the containers
2323
//// Hibernate Reactive doesn't use them
2424
//DEPS org.postgresql:postgresql:42.5.0
25-
//DEPS com.mysql:mysql-connector-j:8.0.31
25+
//DEPS com.mysql:mysql-connector-j:8.0.32
2626
//DEPS org.mariadb.jdbc:mariadb-java-client:2.7.3
2727
//
2828

@@ -229,7 +229,7 @@ public String toString() {
229229
*/
230230
enum Database {
231231
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:14" ) ),
232-
MYSQL( () -> new MySQLContainer( "mysql:8.0.31" ) ),
232+
MYSQL( () -> new MySQLContainer( "mysql:8.0.32" ) ),
233233
DB2( () -> new Db2Container( "docker.io/ibmcom/db2:11.5.8.0" ).acceptLicense() ),
234234
MARIADB( () -> new MariaDBContainer( "mariadb:10.9.3" ) ),
235235
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v22.1.9" ) );

0 commit comments

Comments
 (0)