Fix HANA error where table only contains PK

This commit is contained in:
Marco Belladelli 2024-09-13 12:23:29 +02:00
parent 9071c16e7d
commit 829b990585
1 changed files with 20 additions and 0 deletions

View File

@ -100,6 +100,8 @@ public class LoadQueryInfluencersTest {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String name;
@OneToMany
@BatchSize(size = 1)
private Set<ChildEntity> childrenWithBatchSize1;
@ -112,6 +114,14 @@ public class LoadQueryInfluencersTest {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Set<ChildEntity> getChildrenWithBatchSize1() {
return childrenWithBatchSize1;
}
@ -128,6 +138,8 @@ public class LoadQueryInfluencersTest {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String name;
public Long getId() {
return id;
}
@ -135,5 +147,13 @@ public class LoadQueryInfluencersTest {
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
}