HHH-13053 - Fix test on Oracle and HANA databases.
This commit is contained in:
parent
805aec32b3
commit
013e5b70b8
|
@ -44,6 +44,7 @@ public class UpdateOrderingIdentityIdentifierTest extends BaseEntityManagerFunct
|
|||
@Entity(name = "Zoo")
|
||||
public static class Zoo {
|
||||
private Long id;
|
||||
private String data;
|
||||
private List<Animal> animals = new ArrayList<>();
|
||||
|
||||
@Id
|
||||
|
@ -56,6 +57,14 @@ public class UpdateOrderingIdentityIdentifierTest extends BaseEntityManagerFunct
|
|||
this.id = id;
|
||||
}
|
||||
|
||||
public String getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(String data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
@OneToMany(fetch = FetchType.LAZY, mappedBy = "zoo", cascade = CascadeType.ALL)
|
||||
public List<Animal> getAnimals() {
|
||||
return animals;
|
||||
|
|
Loading…
Reference in New Issue