HHH-11329 - fix tests on Oracle

fixes ORA-00972: identifier is too long on Oracle databases

(cherry picked from commit 4bf4e3b81a)
This commit is contained in:
Martin Simka 2016-08-31 13:32:38 +02:00 committed by Gail Badner
parent cd92cc6f5b
commit bffc4b1708
3 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ public class JoinedSubclassWithEmbeddableTest extends BaseCoreFunctionalTestCase
session.close(); session.close();
} }
@Entity @Entity(name = "Person")
@Inheritance(strategy = InheritanceType.JOINED) @Inheritance(strategy = InheritanceType.JOINED)
public static abstract class Person implements Serializable { public static abstract class Person implements Serializable {

View File

@ -74,7 +74,7 @@ public class SingleTableWithEmbeddableTest extends BaseCoreFunctionalTestCase {
session.close(); session.close();
} }
@Entity @Entity(name = "Person")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE) @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
public static abstract class Person implements Serializable { public static abstract class Person implements Serializable {

View File

@ -73,7 +73,7 @@ public class TablePerClassWithEmbeddableTest extends BaseCoreFunctionalTestCase
session.close(); session.close();
} }
@Entity @Entity(name = "Person")
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS) @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public static abstract class Person implements Serializable { public static abstract class Person implements Serializable {