We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e68ae5 commit 6bdae2aCopy full SHA for 6bdae2a
src/main/java/org/brapi/test/BrAPITestServer/service/SearchQueryBuilder.java
@@ -21,7 +21,7 @@ public class SearchQueryBuilder<T> {
21
22
public SearchQueryBuilder(Class<T> clazz) {
23
this.selectClause = "SELECT distinct entity FROM " + clazz.getSimpleName() + " entity ";
24
- this.selectOnlyIds = "SELECT entity.id FROM " + clazz.getSimpleName() + " entity ";
+ this.selectOnlyIds = "SELECT distinct entity.id FROM " + clazz.getSimpleName() + " entity ";
25
this.whereClause = "WHERE 1=1 ";
26
this.defaultSort = " ORDER BY entity.id ASC ";
27
this.sortClause = "";
0 commit comments