diff --git a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java index 674adad8f6..cb96798065 100644 --- a/hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java +++ b/hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java @@ -367,7 +367,7 @@ public class EmbeddableBinder { if ( baseClassElements != null //useful to avoid breaking pre JPA 2 mappings && !hasAnnotationsOnIdClass( annotatedClass ) ) { - processIdClassElememts( propertyHolder, baseInferredData, classElements, baseClassElements ); + processIdClassElements( propertyHolder, baseInferredData, classElements, baseClassElements ); } for ( PropertyData propertyAnnotatedElement : classElements ) { processElementAnnotations( @@ -555,7 +555,7 @@ public class EmbeddableBinder { } } - private static void processIdClassElememts( + private static void processIdClassElements( PropertyHolder propertyHolder, PropertyData baseInferredData, List classElements,