From dbc38e096ecabcef36e9909522375c68c636fb91 Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Fri, 31 May 2013 11:40:23 -0700 Subject: [PATCH] Revert "HHH-7919 : Miscellaneous bugfixes" This reverts commit 025c2f4f67a9b1794f83e3ebc300ddcda68a15b5. --- .../main/java/org/hibernate/metamodel/internal/Binder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/metamodel/internal/Binder.java b/hibernate-core/src/main/java/org/hibernate/metamodel/internal/Binder.java index 4d3b431ba5..12a06bf9bc 100644 --- a/hibernate-core/src/main/java/org/hibernate/metamodel/internal/Binder.java +++ b/hibernate-core/src/main/java/org/hibernate/metamodel/internal/Binder.java @@ -306,7 +306,9 @@ public class Binder { @Override public void execute(LocalBindingContextExecutionContext bindingContextContext) { EntityBinding entityBinding = bindingContextContext.getEntityBinding(); - bindIdentifierGenerator( entityBinding ); + if ( entityBinding.getSuperEntityBinding() == null ) { + bindIdentifierGenerator( entityBinding ); + } } }; }