From be93105e9a1b134971f2230ef66de3b5dbf0eafe Mon Sep 17 00:00:00 2001 From: Chris Cranford Date: Mon, 13 Jun 2016 23:29:38 -0500 Subject: [PATCH] HHH-10299 - Fix DOM4J entity-mode deprecation warning for Envers audited entities. --- ...CompositeIdentifierSingularAttributeSourceManyToOneImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/CompositeIdentifierSingularAttributeSourceManyToOneImpl.java b/hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/CompositeIdentifierSingularAttributeSourceManyToOneImpl.java index 18ade95224..437d7c2801 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/CompositeIdentifierSingularAttributeSourceManyToOneImpl.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/CompositeIdentifierSingularAttributeSourceManyToOneImpl.java @@ -158,7 +158,7 @@ public class CompositeIdentifierSingularAttributeSourceManyToOneImpl @Override public String getXmlNodeName() { - return keyManyToOneElement.getName(); + return null; } @Override