diff --git a/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/JoinedSubclassWithEmbeddableTest.java b/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/JoinedSubclassWithEmbeddableTest.java index a5fa9b367b..ef0014ea20 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/JoinedSubclassWithEmbeddableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/JoinedSubclassWithEmbeddableTest.java @@ -73,7 +73,7 @@ public class JoinedSubclassWithEmbeddableTest extends BaseCoreFunctionalTestCase session.close(); } - @Entity + @Entity(name = "Person") @Inheritance(strategy = InheritanceType.JOINED) public static abstract class Person implements Serializable { diff --git a/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/SingleTableWithEmbeddableTest.java b/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/SingleTableWithEmbeddableTest.java index 0a54a5852d..12a99912c7 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/SingleTableWithEmbeddableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/SingleTableWithEmbeddableTest.java @@ -74,7 +74,7 @@ public class SingleTableWithEmbeddableTest extends BaseCoreFunctionalTestCase { session.close(); } - @Entity + @Entity(name = "Person") @Inheritance(strategy = InheritanceType.SINGLE_TABLE) public static abstract class Person implements Serializable { diff --git a/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/TablePerClassWithEmbeddableTest.java b/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/TablePerClassWithEmbeddableTest.java index 510f09f8a8..9245ca1cb3 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/TablePerClassWithEmbeddableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/inheritancediscriminator/embeddable/TablePerClassWithEmbeddableTest.java @@ -73,7 +73,7 @@ public class TablePerClassWithEmbeddableTest extends BaseCoreFunctionalTestCase session.close(); } - @Entity + @Entity(name = "Person") @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public static abstract class Person implements Serializable {