diff --git a/hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlProcessingHelper.java b/hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlProcessingHelper.java index 9132470054..bbf57fb156 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlProcessingHelper.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/models/xml/internal/XmlProcessingHelper.java @@ -144,7 +144,8 @@ public class XmlProcessingHelper { xmlDocumentContext.getModelBuildingContext() .getAnnotationDescriptorRegistry() .getDescriptor( annotationType ), - target + target, + xmlDocumentContext.getModelBuildingContext() ); } @@ -154,7 +155,9 @@ public class XmlProcessingHelper { return new DynamicAnnotationUsage<>( xmlDocumentContext.getModelBuildingContext() .getAnnotationDescriptorRegistry() - .getDescriptor( annotationType ) + .getDescriptor( annotationType ), + null, + xmlDocumentContext.getModelBuildingContext() ); } diff --git a/settings.gradle b/settings.gradle index 92470a9960..b316344008 100644 --- a/settings.gradle +++ b/settings.gradle @@ -70,7 +70,7 @@ dependencyResolutionManagement { def byteBuddyVersion = version "byteBuddy", "1.14.18" def classmateVersion = version "classmate", "1.5.1" def geolatteVersion = version "geolatte", "1.9.1" - def hibernateModelsVersion = version "hibernateModels", "0.7.0" + def hibernateModelsVersion = version "hibernateModels", "0.7.1" def jandexVersion = version "jandex", "3.2.0" def hcannVersion = version "hcann", "7.0.1.Final" def jacksonVersion = version "jackson", "2.17.0"