diff --git a/hibernate-core/src/test/java/org/hibernate/test/ecid/CompositeIdAssociationsWithEmbeddedCompositeIdTest.java b/hibernate-core/src/test/java/org/hibernate/test/ecid/CompositeIdAssociationsWithEmbeddedCompositeIdTest.java index 0fa8d59cbd..a9151193e3 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/ecid/CompositeIdAssociationsWithEmbeddedCompositeIdTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/ecid/CompositeIdAssociationsWithEmbeddedCompositeIdTest.java @@ -8,6 +8,7 @@ package org.hibernate.test.ecid; import java.io.Serializable; import java.util.Iterator; +import javax.persistence.Column; import javax.persistence.EmbeddedId; import javax.persistence.Entity; import javax.persistence.Id; @@ -147,6 +148,7 @@ public class CompositeIdAssociationsWithEmbeddedCompositeIdTest extends BaseCore private String name; @Id + @Column(name="ind") private int index; public Parent() {