Fix HANA error where table only contains PK
This commit is contained in:
parent
9f777e8d5b
commit
cf82dfa389
|
@ -100,6 +100,8 @@ public class LoadQueryInfluencersTest {
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
@OneToMany
|
@OneToMany
|
||||||
@BatchSize(size = 1)
|
@BatchSize(size = 1)
|
||||||
private Set<ChildEntity> childrenWithBatchSize1;
|
private Set<ChildEntity> childrenWithBatchSize1;
|
||||||
|
@ -112,6 +114,14 @@ public class LoadQueryInfluencersTest {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
public Set<ChildEntity> getChildrenWithBatchSize1() {
|
public Set<ChildEntity> getChildrenWithBatchSize1() {
|
||||||
return childrenWithBatchSize1;
|
return childrenWithBatchSize1;
|
||||||
}
|
}
|
||||||
|
@ -128,6 +138,8 @@ public class LoadQueryInfluencersTest {
|
||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
|
private String name;
|
||||||
|
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
@ -135,5 +147,13 @@ public class LoadQueryInfluencersTest {
|
||||||
public void setId(Long id) {
|
public void setId(Long id) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue