From 4bf4e3b81a5cfddf4c9d2ef5478e21154139c924 Mon Sep 17 00:00:00 2001 From: Martin Simka Date: Wed, 31 Aug 2016 13:32:38 +0200 Subject: [PATCH] HHH-11037 - fix tests on Oracle fixes ORA-00972: identifier is too long on Oracle databases --- .../embeddable/JoinedSubclassWithEmbeddableTest.java | 2 +- .../discriminator/embeddable/SingleTableWithEmbeddableTest.java | 2 +- .../embeddable/TablePerClassWithEmbeddableTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/JoinedSubclassWithEmbeddableTest.java b/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/JoinedSubclassWithEmbeddableTest.java index dbfec79a09..5ab470f649 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/JoinedSubclassWithEmbeddableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/JoinedSubclassWithEmbeddableTest.java @@ -68,7 +68,7 @@ public class JoinedSubclassWithEmbeddableTest extends BaseCoreFunctionalTestCase } ); } - @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/inheritance/discriminator/embeddable/SingleTableWithEmbeddableTest.java b/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/SingleTableWithEmbeddableTest.java index 3b3c36fbaf..f75b57d247 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/SingleTableWithEmbeddableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/SingleTableWithEmbeddableTest.java @@ -69,7 +69,7 @@ public class SingleTableWithEmbeddableTest extends BaseCoreFunctionalTestCase { } ); } - @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/inheritance/discriminator/embeddable/TablePerClassWithEmbeddableTest.java b/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/TablePerClassWithEmbeddableTest.java index 560724bc20..91b257531d 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/TablePerClassWithEmbeddableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/inheritance/discriminator/embeddable/TablePerClassWithEmbeddableTest.java @@ -68,7 +68,7 @@ public class TablePerClassWithEmbeddableTest extends BaseCoreFunctionalTestCase } ); } - @Entity + @Entity(name = "Person") @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) public static abstract class Person implements Serializable {