diff --git a/extensions/jdbc/jdbc-mysql/deployment/src/main/java/io/quarkus/jdbc/mysql/deployment/JDBCMySQLProcessor.java b/extensions/jdbc/jdbc-mysql/deployment/src/main/java/io/quarkus/jdbc/mysql/deployment/JDBCMySQLProcessor.java
index 8f29c9f3bd18c..176c4d561348d 100644
--- a/extensions/jdbc/jdbc-mysql/deployment/src/main/java/io/quarkus/jdbc/mysql/deployment/JDBCMySQLProcessor.java
+++ b/extensions/jdbc/jdbc-mysql/deployment/src/main/java/io/quarkus/jdbc/mysql/deployment/JDBCMySQLProcessor.java
@@ -3,6 +3,7 @@
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.deployment.builditem.FeatureBuildItem;
import io.quarkus.deployment.builditem.NativeImageEnableAllCharsetsBuildItem;
+import io.quarkus.deployment.builditem.NativeImageEnableAllTimeZonesBuildItem;
import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
public class JDBCMySQLProcessor {
@@ -20,4 +21,9 @@ NativeImageResourceBuildItem resource() {
NativeImageEnableAllCharsetsBuildItem enableAllCharsets() {
return new NativeImageEnableAllCharsetsBuildItem();
}
+
+ @BuildStep
+ NativeImageEnableAllTimeZonesBuildItem enableAllTimeZones() {
+ return new NativeImageEnableAllTimeZonesBuildItem();
+ }
}
diff --git a/integration-tests/jpa-mysql/pom.xml b/integration-tests/jpa-mysql/pom.xml
index 6d747ecaefd67..8d9fe860e614f 100644
--- a/integration-tests/jpa-mysql/pom.xml
+++ b/integration-tests/jpa-mysql/pom.xml
@@ -15,7 +15,7 @@
Module that contains JPA related tests running with the MySQL database
- jdbc:mysql://localhost:3306/hibernate_orm_test?serverTimezone=UTC
+ jdbc:mysql://localhost:3306/hibernate_orm_test