Skip to content

Commit

Permalink
HHH-13053 - Fix test on Oracle and HANA databases.
Browse files Browse the repository at this point in the history
  • Loading branch information
Naros committed Nov 14, 2018
1 parent 805aec3 commit 013e5b7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -56,6 +57,14 @@ public void setId(Long id) {
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;
Expand Down

0 comments on commit 013e5b7

Please sign in to comment.