diff --git a/hibernate-core/src/main/java/org/hibernate/boot/xsd/XsdHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/xsd/XsdHelper.java index 173a08b31f..da847568e3 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/xsd/XsdHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/xsd/XsdHelper.java @@ -12,7 +12,7 @@ package org.hibernate.boot.xsd; public class XsdHelper { public static boolean isValidJpaVersion(String version) { return switch ( version ) { - case "1.0", "2.0", "2.1", "2.2", "3.0", "3.1", "3.2" -> true; + case "1.0", "2.0", "2.1", "2.2", "3.0", "3.1", "3.2", "7.0" -> true; default -> false; }; } diff --git a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-id-class.xml b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-id-class.xml index 6df583175d..4c72da46c2 100644 --- a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-id-class.xml +++ b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-id-class.xml @@ -6,7 +6,7 @@ --> + version="7.0"> diff --git a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-named-entity-graph.xml b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-named-entity-graph.xml index f67ac05419..2f8ae71880 100644 --- a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-named-entity-graph.xml +++ b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-named-entity-graph.xml @@ -4,8 +4,7 @@ ~ SPDX-License-Identifier: Apache-2.0 ~ Copyright: Red Hat Inc. and Hibernate Authors --> - + diff --git a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-plurals.xml b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-plurals.xml index f45e2768b2..d42fc86e7b 100644 --- a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-plurals.xml +++ b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-plurals.xml @@ -6,7 +6,7 @@ --> + version="7.0"> diff --git a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-rowid.xml b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-rowid.xml index 4f74261d0d..ec12ec8e2c 100644 --- a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-rowid.xml +++ b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-rowid.xml @@ -6,7 +6,7 @@ --> + version="7.0"> diff --git a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-semi-simple.xml b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-semi-simple.xml index 55d2bb2a45..4dd37070cc 100644 --- a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-semi-simple.xml +++ b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-semi-simple.xml @@ -6,7 +6,7 @@ --> + version="7.0"> diff --git a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-simple.xml b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-simple.xml index 2292cb2991..6f17ca40a3 100644 --- a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-simple.xml +++ b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-simple.xml @@ -6,7 +6,7 @@ --> + version="7.0"> diff --git a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-tenantid.xml b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-tenantid.xml index 4bc6914667..6ece1ed226 100644 --- a/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-tenantid.xml +++ b/hibernate-core/src/test/resources/mappings/models/dynamic/dynamic-tenantid.xml @@ -4,8 +4,7 @@ ~ SPDX-License-Identifier: Apache-2.0 ~ Copyright: Red Hat Inc. and Hibernate Authors --> - +