HHH-14081 CompositeIdFkGeneratedValueIdentityTest and CompositeIdFkGeneratedValueTest failures on Oracle db

This commit is contained in:
Andrea Boriero 2020-06-19 15:27:45 +01:00
parent c5d520ebd5
commit 18407c954b
2 changed files with 14 additions and 15 deletions

View File

@ -90,7 +90,7 @@ public class CompositeIdFkGeneratedValueIdentityTest extends BaseCoreFunctionalT
} ); } );
} }
@Entity @Entity(name = "HeadI")
public static class HeadI { public static class HeadI {
@Id @Id
@ -100,7 +100,7 @@ public class CompositeIdFkGeneratedValueIdentityTest extends BaseCoreFunctionalT
private String name; private String name;
} }
@Entity @Entity(name = "NodeI")
@IdClass(NodeI.PK.class) @IdClass(NodeI.PK.class)
public static class NodeI { public static class NodeI {
@ -148,7 +148,7 @@ public class CompositeIdFkGeneratedValueIdentityTest extends BaseCoreFunctionalT
} }
@Entity @Entity(name = "ComplexNodeI")
@IdClass(ComplexNodeI.PK.class) @IdClass(ComplexNodeI.PK.class)
public static class ComplexNodeI { public static class ComplexNodeI {

View File

@ -243,7 +243,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
}; };
} }
@Entity @Entity(name = "Head")
public static class Head { public static class Head {
@Id @Id
@ -253,7 +253,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
private String name; private String name;
} }
@Entity @Entity(name = "Node")
@IdClass(CompositeIdFkGeneratedValueTest.Node.PK.class) @IdClass(CompositeIdFkGeneratedValueTest.Node.PK.class)
public static class Node { public static class Node {
@ -300,8 +300,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
} }
@Entity(name = "HeadS")
@Entity
public static class HeadS { public static class HeadS {
@Id @Id
@ -311,7 +310,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
private String name; private String name;
} }
@Entity @Entity(name = "NodeS")
@IdClass(CompositeIdFkGeneratedValueTest.NodeS.PK.class) @IdClass(CompositeIdFkGeneratedValueTest.NodeS.PK.class)
public static class NodeS { public static class NodeS {
@ -359,7 +358,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
} }
@Entity @Entity(name = "HeadA")
public static class HeadA { public static class HeadA {
@Id @Id
@ -369,7 +368,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
private String name; private String name;
} }
@Entity @Entity(name = "NodeA")
@IdClass(CompositeIdFkGeneratedValueTest.NodeA.PK.class) @IdClass(CompositeIdFkGeneratedValueTest.NodeA.PK.class)
public static class NodeA { public static class NodeA {
@ -417,7 +416,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
} }
@Entity @Entity(name = "HeadT")
public static class HeadT { public static class HeadT {
@Id @Id
@ -427,7 +426,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
private String name; private String name;
} }
@Entity @Entity(name = "NodeT")
@IdClass(CompositeIdFkGeneratedValueTest.NodeT.PK.class) @IdClass(CompositeIdFkGeneratedValueTest.NodeT.PK.class)
public static class NodeT { public static class NodeT {
@ -475,7 +474,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
} }
@Entity @Entity(name = "ComplexNodeS")
@IdClass(CompositeIdFkGeneratedValueTest.ComplexNodeS.PK.class) @IdClass(CompositeIdFkGeneratedValueTest.ComplexNodeS.PK.class)
public static class ComplexNodeS { public static class ComplexNodeS {
@ -526,7 +525,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
} }
@Entity @Entity(name = "ComplexNodeT")
@IdClass(CompositeIdFkGeneratedValueTest.ComplexNodeT.PK.class) @IdClass(CompositeIdFkGeneratedValueTest.ComplexNodeT.PK.class)
public static class ComplexNodeT { public static class ComplexNodeT {
@ -577,7 +576,7 @@ public class CompositeIdFkGeneratedValueTest extends BaseCoreFunctionalTestCase
} }
@Entity @Entity(name = "ComplexNodeA")
@IdClass(CompositeIdFkGeneratedValueTest.ComplexNodeA.PK.class) @IdClass(CompositeIdFkGeneratedValueTest.ComplexNodeA.PK.class)
public static class ComplexNodeA { public static class ComplexNodeA {