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:
parent
cd92cc6f5b
commit
bffc4b1708
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue