HHH-15258 Fix test failure for HANA db
This commit is contained in:
parent
26dbafb2b3
commit
e0f1a2ee13
|
@ -94,6 +94,8 @@ public class EagerOneToManyOrphanWithIdentityIdTest {
|
|||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
Long id;
|
||||
|
||||
String name;
|
||||
|
||||
@OneToMany(mappedBy = "parent", orphanRemoval = true, fetch = FetchType.EAGER)
|
||||
List<Child> children = new ArrayList<>();
|
||||
|
||||
|
@ -126,6 +128,8 @@ public class EagerOneToManyOrphanWithIdentityIdTest {
|
|||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
Long id;
|
||||
|
||||
String name;
|
||||
|
||||
@ManyToOne
|
||||
Parent parent;
|
||||
|
||||
|
|
|
@ -93,6 +93,8 @@ public class LazyOneToManyOrphanWithIdentityIdTest {
|
|||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
Long id;
|
||||
|
||||
String name;
|
||||
|
||||
@OneToMany(mappedBy = "parent", orphanRemoval = true)
|
||||
List<Child> children = new ArrayList<>();
|
||||
|
||||
|
@ -125,6 +127,8 @@ public class LazyOneToManyOrphanWithIdentityIdTest {
|
|||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
Long id;
|
||||
|
||||
String name;
|
||||
|
||||
@ManyToOne
|
||||
Parent parent;
|
||||
|
||||
|
|
Loading…
Reference in New Issue